Re:An Anecdote About ML Type Inference (1994)
by iammiles on Thursday August 20, 2020 @05:06PM
(#24228977)
I was introduced to SML via Dan Grossman's Programming Languages course [0] and it's quickly become my favorite programming language to work through problems and brain-teasers.
Shame there isn't more non-academic support for it.
Re:An Anecdote About ML Type Inference (1994)
by bmitc on Friday August 21, 2020 @12:24PM
(#24236253)
That is such a good course. I really enjoyed it and need to go back and finish the third part with Ruby.
If you like SML, check out F#. I did part one of that course in SML, F#, Typed Racket, and Scala. F# was by far the cleanest and most concise for each homework assignment. (Most code was written in SML first and then ported to the other languages.)
F# has become my side-project language.
Re:An Anecdote About ML Type Inference (1994)
by cmrdporcupine on Thursday August 20, 2020 @02:32PM
(#24226772)
About twenty years ago I endeavored to learn both Standard ML and OCaml, and I found I preferred SML. I'm not clear how OCaml has gotten more mindshare, but I really liked SML/NJ.
I suppose back then we were still in the throes of "object-oriented is best" and the "object" in OCaml had some pull
Re:An Anecdote About ML Type Inference (1994)
by agumonkey on Thursday August 20, 2020 @03:14PM
(#24227427)
I guess so. Both mainstream market mindshare and research freshness. The Ocaml Object System was quite liked at the time for the solid backing.
I too prefer SML's syntax, but OCaml seems to have better tools.
Great example though. When looking at Idris I had the impression there was a logical end point of having the type system so descriptive that, given the type of a function, there was only one possible implementation.