Hacker News new | ask | show | jobs
by ReleaseCandidat 944 days ago
The Haskell approach is "annotate all top level declarations" (even if not exported) and OCaml has module signatures. But both (and Roc) don't make up new "types" like Typescript does.