4 ms·
I really like the syntax of Standard ML. It's pretty much the essence of that kind of static functional language, without a bunch of experiments and cruft bolte
by frou_dh 3y ago
I really like the syntax of Standard ML. It's pretty much the essence of that kind of static functional language, without a bunch of experiments and cruft bolted on.
Lack of cruft aside, even the basic syntactic choices are just plain better than OCaml, e.g.
- Commas instead of semicolons as separators in lists/records.
- Local declarations mirror top-level declarations.
- Distinct keyword to create a new type vs a mere type alias.
- ...
- fuzztester 3y agoWhat implementation do you use?
- frou_dh 3y agoMLton. IMHO Poly/ML is borderline unusable because its build-system is so inferior to MLton's. I've never used SML/NJ but I get the impression that it has a lot of history and is kinda sprawling.
- fuzztester 3y agoThanks.