Re:Notes on Idris (2017)
by ihm on Thursday June 07, 2018 @09:53PM
(#17261946)
You can almost do this in OCaml using GADTs. The only trouble is you won't get nice "string syntax" for your format specifier. The idea can be seen here: https://github.com/bobzhang/ocaml-book/blob/master/lang/code...
[ Parent
| on HN ]
There are no comments on this comment yet.