Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
nonempty-vector Data.Vector.NonEmpty.Internal NonEmptyMVector is a thin wrapper around MVector that witnesses an API requiring non-empty construction, initialization, and generation of non-empty vectors by design. A newtype wrapper was chosen so that no new pointer indirection is introduced when working with MVectors, and all performance characteristics inherited from the MVector API still apply.
NonEmptyMVector :: MVector s a -> NonEmptyMVector s anonempty-vector Data.Vector.NonEmpty.Internal No documentation available.
type
NonEmptySTVector s = NonEmptyMVector snonempty-vector Data.Vector.NonEmpty.Internal NonEmptyMVector parametrized by ST
-
nonempty-vector Data.Vector.NonEmpty.Internal NonEmptyVector is a thin wrapper around Vector that witnesses an API requiring non-empty construction, initialization, and generation of non-empty vectors by design. A newtype wrapper was chosen so that no new pointer indirection is introduced when working with Vectors, and all performance characteristics inherited from the Vector API still apply.
NonEmptyVector :: Vector a -> NonEmptyVector anonempty-vector Data.Vector.NonEmpty.Internal No documentation available.
type
NonEmptyIOVector = NonEmptyMVector RealWorldnonempty-vector Data.Vector.NonEmpty.Mutable NonEmptyMVector parametrized by PrimState
-
nonempty-vector Data.Vector.NonEmpty.Mutable NonEmptyMVector is a thin wrapper around MVector that witnesses an API requiring non-empty construction, initialization, and generation of non-empty vectors by design. A newtype wrapper was chosen so that no new pointer indirection is introduced when working with MVectors, and all performance characteristics inherited from the MVector API still apply.
type
NonEmptySTVector s = NonEmptyMVector snonempty-vector Data.Vector.NonEmpty.Mutable NonEmptyMVector parametrized by ST
fromMVector :: MVector s a -> Maybe (NonEmptyMVector s a)nonempty-vector Data.Vector.NonEmpty.Mutable Convert a mutable vector to a non-empty mutable vector
toMVector :: NonEmptyMVector s a -> MVector s anonempty-vector Data.Vector.NonEmpty.Mutable Convert a non-empty mutable vector to a mutable vector