Hoogle Search
Within LTS Haskell 24.61 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromList :: [Word8] -> ByteSetcharset Data.CharSet.ByteSet No documentation available.
fromList :: (Contiguous arr, Element arr a) => [a] -> arr acontiguous Data.Primitive.Contiguous Convert a list into an array.
-
contiguous Data.Primitive.Contiguous Convert a list into a mutable array of the given length.
-
contiguous Data.Primitive.Contiguous Given an Int that is representative of the length of the list, convert the list into a mutable array of the given length. Note: calls error if the given length is incorrect.
fromListN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr acontiguous Data.Primitive.Contiguous Given an Int that is representative of the length of the list, convert the list into a mutable array of the given length. Note: calls error if the given length is incorrect.
toList :: (Contiguous arr, Element arr a) => arr a -> [a]contiguous Data.Primitive.Contiguous Convert an array to a list.
-
contiguous Data.Primitive.Contiguous Convert a mutable array to a list.
unsafeFromListN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr acontiguous Data.Primitive.Contiguous Create an array from a list. If the given length does not match the actual length, this function has undefined behavior.
-
contiguous Data.Primitive.Contiguous Create a mutable array from a list, reversing the order of the elements. If the given length does not match the actual length, this function has undefined behavior.
unsafeFromListReverseN :: (Contiguous arr, Element arr a) => Int -> [a] -> arr acontiguous Data.Primitive.Contiguous Create an array from a list, reversing the order of the elements. If the given length does not match the actual length, this function has undefined behavior.