Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
freeze :: ( PrimMonad prim, Countable ty n) => MVect n ty ( PrimState prim) -> prim ( Vect n ty) Source #
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 Source #
uncons :: forall n ty. ( CmpNat 0 n ~ ' LT , KnownNat n, Offsetable ty n) => Vect n ty -> (ty, Vect (n - 1) ty) Source #
unsnoc :: forall n ty. ( CmpNat 0 n ~ ' LT , KnownNat n, Offsetable ty n) => Vect n ty -> ( Vect (n - 1) ty, ty) Source #