▲ | chris_armstrong 4 days ago | |
I almost never find a use for GADTs or functors or carefully specifying module types, but when I need them, they help me get stuff done neatly. Even the object system which most OCaml developers avoid, is actually very useful for some specific modelling scenarios (usually hierarchies in GUIs or IaC) that comes with similar type system guarantees and minimal type annotations. |