Boilerplate-free annotation of ASTs in Haskell?

后端 未结 4 993
攒了一身酷
攒了一身酷 2020-12-24 06:53

I\'ve been fiddling around with the Elm compiler, which is written in Haskell.

I\'d like to start implementing some optimizations for it, and part of this involves t

4条回答
  •  醉话见心
    2020-12-24 07:23

    It is also possible to write a Template Haskell macros which converts a datatype into an annotated one.

提交回复
热议问题