Hacker News new | ask | show | jobs
by fridsun 3549 days ago
OCaml or Haskell.
1 comments

Neither 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.)