Re:Rust as a gateway drug to Haskell
by hajile on Wednesday June 14, 2017 @09:34AM
(#14552555)
Why not SML/CML where you basically get haskell syntax and types, but get modules, no laziness, and you can mutate things when it's more efficient to do so.
[ Parent
| on HN ]
I couldn't stand to work without HKT now that I'm used to them. (Hell, I'm struggling with Scala's lack of polykinded types; you don't need them until you do, but then you really need them).
MLs have higher kinder types.
Which ones? OCaml is planning to add them via its "modular implicits" work but that hasn't happened yet; none of the SML implementations I used mentioned them.
I think you're confusing higher-kinded types with type classes. You're right that neither has type classes.
Re:Rust as a gateway drug to Haskell
by FullyFunctional on Thursday June 15, 2017 @01:44PM
(#14562565)
The difference in both syntax and type system is vast, unless you are coming from, say Fortran or APL.