Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
conIdNamed :: forall (s :: Symbol) a . ConIdNamed s a => ConId ageneric-data Generic.Data Get a ConId by name.
>>> conIdNamed @"Nothing" :: ConId (Maybe Int) ConId 0 >>> conIdNamed @"Just" :: ConId (Maybe Int) ConId 1
conIdToString :: Constructors a => ConId a -> Stringgeneric-data Generic.Data Name of a constructor. See also gconName.
unId1 :: Id1 (f :: Type -> Type) a -> f ageneric-data Generic.Data No documentation available.
-
generic-data Generic.Data.Internal.Meta An opaque identifier for a constructor.
ConId :: Int -> ConId (a :: k)generic-data Generic.Data.Internal.Meta No documentation available.
class (Generic a, KnownNat
ConIdNamed ' n a) => ConIdNamed (n :: Symbol) ageneric-data Generic.Data.Internal.Meta Constraint synonym for generic types a with a constructor named n.
type
ConIdNamed' (n :: Symbol) t = GConIdNamedIf n t GConIdNamed n Rep tgeneric-data Generic.Data.Internal.Meta No documentation available.
-
generic-data Generic.Data.Internal.Meta No documentation available.
GConId :: Int -> GConId (r :: k)generic-data Generic.Data.Internal.Meta No documentation available.
type family
GConIdNamed' (n :: Symbol) (f :: k -> Type) (i :: Nat) (o :: Maybe Nat) :: Maybe Natgeneric-data Generic.Data.Internal.Meta No documentation available.