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
It appears that the :+: type operator in Data.Comp.Ops can be replaced with using the one from GHC.Generics (which appears to be a poly-kinded version of the same thing).
Did you consider using the one from base?
It seems like it would make it useful to automatically create inject/preview/prisms for normal ADTs using Generic (perhaps someone already made something like that?)
The text was updated successfully, but these errors were encountered:
It appears that the
:+:
type operator inData.Comp.Ops
can be replaced with using the one fromGHC.Generics
(which appears to be a poly-kinded version of the same thing).Did you consider using the one from
base
?It seems like it would make it useful to automatically create inject/preview/prisms for normal ADTs using Generic (perhaps someone already made something like that?)
The text was updated successfully, but these errors were encountered: