typelevel / cats-tagless

Library of utilities for tagless final encoded algebras
https://typelevel.org/cats-tagless/
Apache License 2.0
314 stars 41 forks source link

[Scala 3] Add derivation for Const and Void #560

Closed pomadchin closed 3 weeks ago

pomadchin commented 3 weeks ago

This PR adds a ConstMacro and both Derive.const / Derive.void functions. I also added an extra helper function, apparently it's used a lot!

Connected https://github.com/typelevel/cats-tagless/issues/170