News for hackers. Stuff that matters.
Re:Comparing OCaml and Standard ML (2020) by zogrodea on Monday June 17, 2024 @10:55PM (#40713636)
Some implementations of Standard ML (SML/NJ and MLton being the two I know of) support an extension to the language for vector (immutable array) literals. That would look like:

#[1, 2, 3]

It's still not a feature you can expect all implementations to have, so OCaml is not in a bad position there I think. (Although I prefer SML most of the time.)

Re:Comparing OCaml and Standard ML (2020) by SassyBird on Tuesday June 18, 2024 @05:20AM (#40715617)
> It's still not a feature you can expect all implementations to have, so OCaml is not in a bad position there I think.

The number of SML implementations supporting this feature is greater than the number of OCaml implementations. ;)