News for hackers. Stuff that matters.
Re:Show HN: Learn Functional Programming Using Haskell by wyager on Wednesday August 03, 2016 @02:08PM (#12220113)
You can do this in Haskell as well, it's just clunkier since you usually end up needing some combo of MultiParamTypeClasses and plumbing around extra types.

The ML approach is better for this use case, but the Haskell approach can do the same with a bit more verbosity.

Re:Show HN: Learn Functional Programming Using Haskell by nv-vn on Thursday August 04, 2016 @04:10PM (#12228104)
Of course, but at that point one could throw in OCaml extensions (modular implicits + HKTs) to provide the Haskell functionality to OCaml.