Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

First class modules in OCaml 3.12: What kinds of things will they make easier (or possible)?

Tags:

ocaml

I've heard that "first class modules" are coming in OCaml 3.12. What advantages will they offer? What kids of things will be easier? What problem are they trying to solve? A simple example would suffice.

like image 506
aneccodeal Avatar asked Mar 20 '10 16:03

aneccodeal


1 Answers

Maybe a bit late, but the new paper First-class modules: hidden power and tantalizing promises is exactly on topic. It's a set of recipes/pearls around first-class modules, by Oleg Kiselyov (oleg) and Jeremy Yallop (author, for example, of the Deriving project).

like image 108
gasche Avatar answered Dec 06 '22 06:12

gasche