re-xyr / cleff

Fast and concise extensible effects
https://hackage.haskell.org/package/cleff
BSD 3-Clause "New" or "Revised" License
105 stars 6 forks source link

Improvements to generation of operations via TH #12

Closed arybczak closed 2 years ago

arybczak commented 2 years ago

Hey,

I took your TH generation code and improved it in https://github.com/haskell-effectful/effectful/pull/60. Feel free to adapt it and/or see if it breaks for something I didn't anticipate :slightly_smiling_face:

re-xyr commented 2 years ago

Thanks for the improvement - I've left some comments there and added support for constructors using Eff es instead of m for cleff.

re-xyr commented 2 years ago

Fixed by 096ba95