Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
:: Unbox a | |
=> Int | num rows |
-> Int | buffer size |
-> (forall s. CSRBuilder s a -> ST s ()) | |
-> CSR a |
data CSRBuilder s a Source #
CSRBuilder | |
|
:: (Unbox a, PrimMonad m) | |
=> Int | num rows |
-> Int | buffer size |
-> m (CSRBuilder (PrimState m) a) |
buildCSR :: (Unbox a, PrimMonad m) => CSRBuilder (PrimState m) a -> m (CSR a) Source #
pushCSRB :: (Unbox a, PrimMonad m) => (Int, a) -> CSRBuilder (PrimState m) a -> m () Source #