fixed-vector-hetero-0.2.0.0: Generic heterogeneous vectors

Safe HaskellNone

Data.Vector.HFixed.TypeFuns

Contents

Description

Type functions

Synopsis

Type proxy

Starting from version 7.8 GHC provides kind-polymorphic proxy data type. In those versions Data.Typeable.Proxy is reexported. For GHC 7.6 we have to define our own Proxy data type.

data Proxy a Source

Constructors

Proxy 

proxy :: t -> Proxy tSource

Type functions

type family xs (++) ys :: [α]Source

Concaternation of type level lists.

type family Len xs :: *Source

Length of type list expressed as type level naturals from fixed-vector.

type family Head xs :: αSource

Head of type list

type family HomList n a :: [α]Source

Homogeneous type list with length n and element of type a. It uses type level natural defined in fixed-vector.

type family Wrap f a :: [β]Source

Wrap every element of list into type constructor