News for hackers. Stuff that matters.
Re:Typed, modular macros for OCaml by a0 on Saturday November 26, 2016 @01:23PM (#13045106)
I also agree that there seems to be too much separation between the phases. I wonder if this is a design choice or a design limitation. MetaOCaml also requires explicit lifting/unlifting of values.
Re:Typed, modular macros for OCaml by otini on Saturday November 26, 2016 @01:34PM (#13045162)
There are certainly some design choices here. I want to emphasize that in the few projects where I've used macros (e.g. https://github.com/OlivierNicole/macros-examples), I found that these translating functions were scarcely needed and I never had to pass a non-standard type between phases.

You may want to read this comment which I find relevant: https://www.reddit.com/r/ocaml/comments/5e8slg/bringing_type...