4 ms·
Does OCaml have dependent types? I thought that was a Coq and Idris (and Haskell, to a lesser extent) thing. I am aware that dependent types exist, but quite f
by tormeh 6y ago
Does OCaml have dependent types? I thought that was a Coq and Idris (and Haskell, to a lesser extent) thing.
I am aware that dependent types exist, but quite frankly I've yet to see a popular/ergonomic language implement them. As much as we'd like absence of null pointers, error types, and immutability to be the norm it is not and it will take decades until it is.
- pjmlp 6y agoYou can also do it in Ada/SPARK, Eiffel DBC, F*, Dafny.