Skip to content

Comment on OCaml for the Massesparent

Comments

> I believe OCaml's type inference system is fully decidable Haskell's isn't.

That depends on the extensions you are using.

The biggest difference between the typesystems in practice seems to be the ubiquitous use of type classes in Haskell. OCaml's modules can do the same as type classes, but they require annotations and aren't used as pervasively.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.