Copyright | (c) Matt Hunzinger 2025 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | matt@hunzinger.me |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Data.SparseVector.Strict.Mutable
Description
Documentation
newtype MSparseVector s a Source #
Constructors
MSparseVector | |
Fields
|
unsafeRead :: PrimMonad m => MSparseVector (PrimState m) a -> Int -> m a Source #
unsafeWrite :: PrimMonad m => MSparseVector (PrimState m) a -> Int -> a -> m () Source #
modify :: PrimMonad m => MSparseVector (PrimState m) a -> Int -> (Maybe a -> Maybe a) -> a -> m () Source #
unsafeModify :: PrimMonad m => MSparseVector (PrimState m) a -> Int -> (a -> a) -> m () Source #