4 ms·
OCaml or Haskell.
by fridsun 10y ago
OCaml or Haskell.
- catnaroek 10y agoNeither OCaml nor Haskell has substructural types. There's no way to tell their type systems “you can't use a file after it's been closed”. In fact, what I want can be summarized as “ML plus substructural types”! (But preferably with Standard ML as the base point, since OCaml has way too many warts for my taste.)