Re:What Clojure Spec is and what you can do with it
by Scarbutt on Thursday September 10, 2020 @08:01PM
(#24437889)
Ocaml's strong static typing with type inference and pattern-matching (with exhaustivity checking) suite this kind of work quite well, there's plenty of literature around for it.