News for hackers. Stuff that matters.
Re:“Transducers” by Rich Hickey at Strange Loop [video] by tel on Saturday September 20, 2014 @10:24AM (#8344552)
I'm not sure offhand. Even if your language lacks it, however, you can usually get away without it. The following works

    Transducer r a b = (r -> b -> r) -> (r -> a -> r)
but if you even accidentally specialize the `r` while constructing Transducers then you will have reduced their ability to generalize over input and output containers. In other words, it'll be up to you to maintain the universality of `r`.

There are no comments on this comment yet.