unison-runtime-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Runtime.SparseVector

Documentation

data SparseVector bits a Source #

Constructors

SparseVector 

Fields

map :: (Unbox a, Unbox b) => (a -> b) -> SparseVector bits a -> SparseVector bits b Source #

mask :: forall a bits. (Unbox a, FiniteBits bits) => bits -> SparseVector bits a -> SparseVector bits a Source #

zipWith :: (Unbox a, Unbox b, Unbox c, FiniteBits bits) => (a -> b -> c) -> SparseVector bits a -> SparseVector bits b -> SparseVector bits c Source #

_1 :: (Unbox a, Unbox b) => SparseVector bits (a, b) -> SparseVector bits a Source #

_2 :: (Unbox a, Unbox b) => SparseVector bits (a, b) -> SparseVector bits b Source #

unzip :: (Unbox a, Unbox b) => SparseVector bits (a, b) -> (SparseVector bits a, SparseVector bits b) Source #

choose :: (FiniteBits bits, Unbox a) => bits -> SparseVector bits a -> SparseVector bits a -> SparseVector bits a Source #

merge :: forall a bits. (FiniteBits bits, Unbox a) => SparseVector bits a -> SparseVector bits a -> SparseVector bits a Source #

eq :: a -> a -> Bool Source #