Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sfromListN :: Sz1 -> [e] -> Vector DS emassiv Data.Massiv.Vector Convert a list to a delayed stream vector. Length of the resulting vector will be at most n. This version isn't really more efficient then sfromList, but there is unsafeFromListN Related: fromList, fromListN, sfromList
Examples
>>> sfromListN 10 [1 :: Int ..] Array DS Seq (Sz1 10) [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] >>> sfromListN 10 [1 :: Int .. 5] Array DS Seq (Sz1 5) [ 1, 2, 3, 4, 5 ]
unliftedArrayFromList :: PrimUnlifted a => [a] -> UnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.Array No documentation available.
unliftedArrayFromListN :: PrimUnlifted a => Int -> [a] -> UnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.Array No documentation available.
unliftedArrayFromList :: PrimUnlifted a => [a] -> UnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.Array.ST No documentation available.
unliftedArrayFromListN :: PrimUnlifted a => Int -> [a] -> UnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.Array.ST No documentation available.
smallUnliftedArrayFromList :: PrimUnlifted a => [a] -> SmallUnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.SmallArray No documentation available.
smallUnliftedArrayFromListN :: PrimUnlifted a => Int -> [a] -> SmallUnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.SmallArray No documentation available.
smallUnliftedArrayFromList :: PrimUnlifted a => [a] -> SmallUnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.SmallArray.ST No documentation available.
smallUnliftedArrayFromListN :: PrimUnlifted a => Int -> [a] -> SmallUnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.SmallArray.ST No documentation available.
unsafeFromList :: IsMap k m => [(k, a)] -> m amorpheus-graphql-core Data.Morpheus.Internal.Ext No documentation available.