You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The technique of defunctionalizing type families to support partial application (and especially higher-order type families) has been applied in at least two parameterized-utils-adjacent spots: #103, and the CtxFuns module mentioned in #84. Seems like it's probably worth creating a small module in parameterized-utils that at least provides a canonical home for the Apply family:
Alternatively, we could just depend on the singletons library, which provides this in Data.Singletons. singletons-3.0 and later have no external dependencies, so it's a pretty lightweight dependency.
Yeah, there is also a version in semmc somewhere, I think. It would be nice to have just one. I'm open to singletons core now that it has slimmed down.
The technique of defunctionalizing type families to support partial application (and especially higher-order type families) has been applied in at least two
parameterized-utils
-adjacent spots: #103, and theCtxFuns
module mentioned in #84. Seems like it's probably worth creating a small module inparameterized-utils
that at least provides a canonical home for theApply
family:The text was updated successfully, but these errors were encountered: