Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data EqT a b where
- data ExistsEqT t n where
- data Nat
- data Natural n where
- data Vec n a where
- data VecBox a where
- data VecList a where
- (!!) :: Vec n a -> Int -> a
- findIndex :: (a -> Bool) -> Vec n a -> Maybe Int
- fromList :: [a] -> VecBox a
- fromLists :: forall a. [[a]] -> VecList a
- length :: Vec n a -> Int
- lengthN :: Vec n a -> Natural n
- proveEqSize :: Vec n a -> Vec m b -> Maybe (EqT m n)
- proveNonEmpty :: Vec n a -> Maybe (ExistsEqT S n)
- replace :: Int -> a -> Vec n a -> Vec n a
- toList :: Vec n a -> [a]
- zip :: Vec n a -> Vec n b -> Vec n (a, b)
- zipWith :: (a -> b -> c) -> Vec n a -> Vec n b -> Vec n c