Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Functor (Vect n) # | |
Eq a => Eq (Vect n a) # | |
Show a => Show (Vect n a) # | |
NormalForm a => NormalForm (Vect n a) # | |
Defined in Basement.Sized.Vect toNormalForm :: Vect n a -> () # |
sub :: forall i j n ty. ((i <=? n) ~ 'True, (j <=? n) ~ 'True, (i <=? j) ~ 'True, KnownNat i, KnownNat j, Offsetable ty i, Offsetable ty j) => Vect n ty -> Vect (j - i) ty #
uncons :: forall n ty. (CmpNat 0 n ~ 'LT, KnownNat n, Offsetable ty n) => Vect n ty -> (ty, Vect (n - 1) ty) #
unsnoc :: forall n ty. (CmpNat 0 n ~ 'LT, KnownNat n, Offsetable ty n) => Vect n ty -> (Vect (n - 1) ty, ty) #