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.
arrayFromListN :: Int -> [a] -> Array aprimitive Data.Primitive.Array Create an array from a list of a known length. If the length of the list does not match the given length, this throws an exception.
byteArrayFromList :: Prim a => [a] -> ByteArrayprimitive Data.Primitive.ByteArray Create a ByteArray from a list.
byteArrayFromList xs = byteArrayFromListN (length xs) xs
byteArrayFromListN :: Prim a => Int -> [a] -> ByteArrayprimitive Data.Primitive.ByteArray Create a ByteArray from a list of a known length. If the length of the list does not match the given length, this throws an exception.
primArrayFromList :: Prim a => [a] -> PrimArray aprimitive Data.Primitive.PrimArray Create a PrimArray from a list.
primArrayFromList vs = primArrayFromListN (length vs) vs
primArrayFromListN :: Prim a => Int -> [a] -> PrimArray aprimitive Data.Primitive.PrimArray Create a PrimArray from a list of a known length. If the length of the list does not match the given length, this throws an exception.
smallArrayFromList :: [a] -> SmallArray aprimitive Data.Primitive.SmallArray Create a SmallArray from a list.
smallArrayFromListN :: Int -> [a] -> SmallArray aprimitive Data.Primitive.SmallArray Create a SmallArray from a list of a known length. If the length of the list does not match the given length, this throws an exception.
blockFromList :: [n O O] -> Block n O Oghc GHC.Cmm.Dataflow.Block No documentation available.
mapFromList :: [(Label, v)] -> LabelMap vghc GHC.Cmm.Dataflow.Label No documentation available.
mapFromListWith :: (v -> v -> v) -> [(Label, v)] -> LabelMap vghc GHC.Cmm.Dataflow.Label No documentation available.