News for hackers. Stuff that matters.
Re:Standard ML in 2020 by nicoburns on Sunday October 25, 2020 @10:01PM (#24892136)
How does it compare to OCaml?
Re:Standard ML in 2020 by wtetzner on Monday October 26, 2020 @09:04AM (#24895691)
They're very similar. Some people prefer Standard ML's syntax, though I actually prefer OCaml's (most likely just a result of me learning OCaml first).

The module systems have some small differences, but are very similar (I believe OCaml's was inspired by SML's).

Standard ML is also standardized (hence the name), and there are multiple implementations, whereas OCaml is basically defined by its single implementation.

But OCaml does have a larger ecosystem, Opam, more features (first-class modules, polymorphic variants, etc.).

Re:Standard ML in 2020 by Davidbrcz on Monday October 26, 2020 @05:57AM (#24894414)
OCaml's design was influenced by Standard ML