| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.Vector.HFixed.TypeFuns
Contents
Description
Type functions
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 k t :: forall k. k -> * #
A concrete, poly-kinded proxy type
Constructors
| Proxy |
Instances
| Monad (Proxy *) | |
| Functor (Proxy *) | |
| Applicative (Proxy *) | |
| Generic1 (Proxy *) | |
| Alternative (Proxy *) | |
| MonadPlus (Proxy *) | |
| Vector (Proxy *) a | |
| Bounded (Proxy k s) | |
| Enum (Proxy k s) | |
| Eq (Proxy k s) | |
| Ord (Proxy k s) | |
| Read (Proxy k s) | |
| Show (Proxy k s) | |
| Ix (Proxy k s) | |
| Generic (Proxy k t) | |
| Semigroup (Proxy k s) | |
| Monoid (Proxy k s) | |
| NFData (Proxy k a) | Since: 1.4.0.0 |
| type Rep1 (Proxy *) | |
| type Dim (Proxy *) | |
| type Rep (Proxy k t) | |
Type functions
type family Len (xs :: [α]) :: * Source #
Length of type list expressed as type level naturals from
fixed-vector.