Re:Type-safe Transducers in Clojure, Scala, and Haskell
by kentosi on Wednesday October 29, 2014 @10:29PM
(#8531045)
This line made me laugh out loud: "... whenever something is even slightly ugly in Scala, you introduce an implicit to make it confusing instead."
[ Parent
| on HN ]
Re:Type-safe Transducers in Clojure, Scala, and Haskell
by frowaway001 on Thursday October 30, 2014 @05:43AM
(#8532063)
Odersky wrote a simple implementation, and it looks a lot nicer. It also doesn't use any casts or implicit conversaions: https://gist.github.com/odersky/6b7c0eb4731058803dfd
Re:Type-safe Transducers in Clojure, Scala, and Haskell
by podsnap on Thursday October 30, 2014 @09:24AM
(#8532729)
True. In retrospect, trying to make the Scala transducer type look like Haskell and then hacking into working order was didn't do justice to either language. As I sort of note in the text, the attempt to do it this way was at least partially meant to be "amusing."