generic-deriving-1.12.2: Generic programming library for generalised deriving.
Generics.Deriving.Copoint
Contents
Synopsis
class GCopoint d where
Methods
gcopoint :: d a -> a
Instances
gcopointdefault :: (Generic1 d, GCopoint' (Rep1 d)) => d a -> a
class GCopoint' t where
gcopoint' :: t a -> Maybe a