Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
class Arity Elems v =>
HVector vfixed-vector-hetero Data.Vector.HFixed Type class for product type. Any product type could have instance of this type. Its methods describe how to construct and deconstruct data type. For example instance for simple data type with two fields could be written as:
data A a = A Int a instance HVector (A a) where type Elems (A a) = '[Int,a] construct = TFun $ \i a -> A i a inspect (A i a) (TFun f) = f i a
Another equivalent description of this type class is descibes isomorphism between data type and ContVec, where constuct implements ContVec → a (see vector) and inspect implements a → ContVec (see cvec) Istances should satisfy one law:inspect v construct = v
Default implementation which uses Generic is provided.class Arity ElemsF v =>
HVectorF (v :: α -> Type -> Type)fixed-vector-hetero Data.Vector.HFixed Type class for partially homogeneous vector where every element in the vector have same type constructor. Vector itself is parametrized by that constructor
class Arity Elems v =>
HVector vfixed-vector-hetero Data.Vector.HFixed.Class Type class for product type. Any product type could have instance of this type. Its methods describe how to construct and deconstruct data type. For example instance for simple data type with two fields could be written as:
data A a = A Int a instance HVector (A a) where type Elems (A a) = '[Int,a] construct = TFun $ \i a -> A i a inspect (A i a) (TFun f) = f i a
Another equivalent description of this type class is descibes isomorphism between data type and ContVec, where constuct implements ContVec → a (see vector) and inspect implements a → ContVec (see cvec) Istances should satisfy one law:inspect v construct = v
Default implementation which uses Generic is provided.class Arity ElemsF v =>
HVectorF (v :: α -> Type -> Type)fixed-vector-hetero Data.Vector.HFixed.Class Type class for partially homogeneous vector where every element in the vector have same type constructor. Vector itself is parametrized by that constructor
class Arity Elems v =>
HVector vfixed-vector-hetero Data.Vector.HFixed.Cont Type class for product type. Any product type could have instance of this type. Its methods describe how to construct and deconstruct data type. For example instance for simple data type with two fields could be written as:
data A a = A Int a instance HVector (A a) where type Elems (A a) = '[Int,a] construct = TFun $ \i a -> A i a inspect (A i a) (TFun f) = f i a
Another equivalent description of this type class is descibes isomorphism between data type and ContVec, where constuct implements ContVec → a (see vector) and inspect implements a → ContVec (see cvec) Istances should satisfy one law:inspect v construct = v
Default implementation which uses Generic is provided.class Arity ElemsF v =>
HVectorF (v :: α -> Type -> Type)fixed-vector-hetero Data.Vector.HFixed.Cont Type class for partially homogeneous vector where every element in the vector have same type constructor. Vector itself is parametrized by that constructor
-
freetype2 FreeType.Core.Types No documentation available.
FT_UnitVector :: FT_F2Dot14 -> FT_F2Dot14 -> FT_UnitVectorfreetype2 FreeType.Core.Types No documentation available.
-
freetype2 FreeType.Core.Types No documentation available.
FT_Vector :: FT_Pos -> FT_Pos -> FT_Vectorfreetype2 FreeType.Core.Types No documentation available.