Re:Understanding Clojure Transducers Through Types
by gipp on Friday August 08, 2014 @12:27PM
(#8153633)
in Haskell is just
isn't it? What am I missing here?
[ Parent
| on HN ]
Re:Understanding Clojure Transducers Through Types
by tel on Friday August 08, 2014 @02:52PM
(#8154453)
He ends up calling that `mapping` later
mapping :: (a -> b) -> Transducer b a
mapping f xf r a = xf r (f a)
which, modulo a little renaming, eta-expansion, and point elimination is the same as your `trans`