Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype Vector v (n :: Nat) a Source #
A wrapper to tag vectors with a type level length.
Be careful when using the constructor here to not construct sized vectors which have a different length than that specified in the type parameter!
Vector (v a) |
Functor v => Functor (Vector v n) Source # | |
Foldable v => Foldable (Vector v n) Source # | |
Traversable v => Traversable (Vector v n) Source # | |
Eq1 v => Eq1 (Vector v n) Source # | |
Ord1 v => Ord1 (Vector v n) Source # | |
Show1 v => Show1 (Vector v n) Source # | |
Eq (v a) => Eq (Vector v n a) Source # | |
(Data (v a), Typeable * a, Typeable (* -> *) v, KnownNat n) => Data (Vector v n a) Source # | |
Ord (v a) => Ord (Vector v n a) Source # | |
Show (v a) => Show (Vector v n a) Source # | |
(Ix a, Ord (v a), Vector v a) => Ix (Vector v n a) Source # | |
Generic (Vector v n a) Source # | |
NFData (v a) => NFData (Vector v n a) Source # | |
type Rep (Vector Vector n) # | |
type Mutable (Vector v n) # | |
type Rep (Vector v n a) Source # | |