Safe Haskell | None |
---|---|
Language | Haskell98 |
Vector which could hold any value.
Immutable
data Vec (n :: Nat) a Source #
Vector with fixed length which can hold any value.
Arity n => VectorN Vec n a Source # | |
Arity n => Functor (Vec n) Source # | |
Arity n => Applicative (Vec n) Source # | |
Arity n => Foldable (Vec n) Source # | |
Arity n => Traversable (Vec n) Source # | |
Arity n => Vector (Vec n) a Source # | |
Arity n => IVector (Vec n) a Source # | |
(Arity n, Eq a) => Eq (Vec n a) Source # | |
(Typeable Nat n, Arity n, Data a) => Data (Vec n a) Source # | |
(Arity n, Ord a) => Ord (Vec n a) Source # | |
(Arity n, Show a) => Show (Vec n a) Source # | |
(Arity n, Semigroup a) => Semigroup (Vec n a) Source # | |
(Arity n, Monoid a) => Monoid (Vec n a) Source # | |
(Storable a, Arity n) => Storable (Vec n a) Source # | |
(Arity n, NFData a) => NFData (Vec n a) Source # | |
type Dim (Vec n) Source # | |
type Mutable (Vec n) Source # | |