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.
fromList :: (Eq a, Hashable a) => [a] -> HashSet aunordered-containers Data.HashSet.Internal Construct a set from a list of elements.
-
unordered-containers Data.HashSet.Internal Return a list of this set's elements. The list is produced lazily.
newListArray :: (MArray a e m, Ix i) => (i, i) -> [e] -> m (a i e)array Data.Array.Base Constructs a mutable array from a list of initial elements. The list gives the elements of the array in ascending order beginning with the lowest index. The first and second element of the tuple specifies the lowest and highest index, respectively.
newListArray :: (MArray a e m, Ix i) => (i, i) -> [e] -> m (a i e)array Data.Array.MArray Constructs a mutable array from a list of initial elements. The list gives the elements of the array in ascending order beginning with the lowest index. The first and second element of the tuple specifies the lowest and highest index, respectively.
newListArray :: (MArray a e m, Ix i) => (i, i) -> [e] -> m (a i e)array Data.Array.MArray.Safe Constructs a mutable array from a list of initial elements. The list gives the elements of the array in ascending order beginning with the lowest index. The first and second element of the tuple specifies the lowest and highest index, respectively.
putList :: Binary t => [t] -> Putbinary Data.Binary Encode a list of values in the Put monad. The default implementation may be overridden to be more efficient but must still have the same encoding format.
arrayFromList :: [a] -> Array aprimitive Data.Primitive.Array Create an array from a list.
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.