-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
When I heard the name of transjuxt I assumed it could perform a transformation like so:
[[:a :b] [:a :b] [:a :b]] -> [[:a :a :a] [:b :b :b]]Or act as if juxt defined a function:
((juxt (partial into [] (map inc))
(partial into [] (map dec)))
(range 100)but using transjuxt inside the stack like so to avoid multiple traversals:
(into [] (transjuxt [(map inc) (map dec)]) (range 100))However, I can't get it to behave this way. I can't tell if I've misunderstood its use and purpose, or if I have called it wrong.
Can you add an example to the documentation of what it's output might look like in practice and how to call it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels