Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deepmap returning a Seq instead of the desired Listy type
If the object's type is List or a subclass of List, use the object's type for the result, so deepmap(op, (1, 2, [3, 4])) will return (op(1), op(2), [op(3), op(4)]). In other cases (like Seq or Range) use List.
- Loading branch information