|
|
|
|
|
by silentbicycle
6471 days ago
|
|
In my experience, learning OCaml is a good way to become accustomed to the type system Haskell uses without having to also learn how to do everything with functional purity at the same time. The type systems are very similar, though Haskell has type classes and OCaml has a much more elaborate module system. |
|
I can't imagine myself using them for serious work, but am interested in learning these languages for mental exercise (ref http://news.ycombinator.com/item?id=112196). I attempted nostrademon's Haskell tutorial but had a hard time making sense of things and so forgetting was a problem. Moreso when you don't really spend time poking around for its own sake.
Would either of you recommend OCaml as a gentle lead-in to Haskell, so things can be more easily remembered?
I was offered a good book in ML, but I have even less idea of where that would fit.