6 ms·
You can do something like this with OCaml/SML's module system. And certainly from an abstraction point of view you can do this in any dependently typed languag
by maxiepoo 3y ago
You can do something like this with OCaml/SML's module system.
And certainly from an abstraction point of view you can do this in any dependently typed language like Idris/Agda/Coq, but these don't have great implementations.