HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleone-liner-2.1Haskell2010

Generics.OneLiner.Internal

  • 21 types
  • 4 classes
  • 17 values
  • Packageone-liner-2.1
  • Exports45
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs
familytype family Constraints' (t :: Type -> Type) (t' :: Type -> Type) (c :: Type -> Type -> Constraint) (c1 :: (Type -> Type) -> (Type -> Type) -> Constraint) :: Constraint
#
Instances9Constraints', …
classclass ADT_ (nullary :: Type -> Type) (unary :: Type -> Type) (ks :: [(Type -> Type -> Type) -> Constraint]) (t :: Type -> Type) (t' :: Type -> Type) where
#

Methods

Instances10ADT_, …
datadata Ctor a (b :: k)
#

Constructors

Instances6Profunctor, GenericConstantProfunctor, GenericEmptyProfunctor, GenericProductProfunctor, GenericSumProfunctor, GenericUnitProfunctor
classclass AnyType (a :: k) (b :: k1)
#
Instances1AnyType
  • AnyType a bDefined in one-liner-2.1 · Generics.OneLiner.Internal
classclass FunConstraints (c :: Type -> Constraint) t where
#

Automatically apply a lifted function to a polymorphic argument as many times as possible.

A constraint `FunConstraint c t` is equivalent to the conjunction of constraints `c s` for every argument type of t.

If r is not a function type:

c a :- FunConstraints c (a -> r)
(c a, c b) :- FunConstraints c (a -> b -> r)
(c a, c b, c d) :- FunConstraints c (a -> b -> d -> r)

Methods

Instances2FunConstraints
datadata Pair a
#

Constructors

Instances1Functor
  • Functor PairDefined in one-liner-2.1 · Generics.OneLiner.Internal
value(.:) :: (c -> d) -> (a -> b -> c) -> a -> b -> d
#