Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromList :: Enum a => [a] -> EnumSet aghc GHC.Data.EnumSet No documentation available.
fromList :: Word -> [a] -> FlatBag aghc GHC.Data.FlatBag Store the list in a flattened memory representation, avoiding the memory overhead of a linked list. The size n needs to be smaller or equal to the length of the list. If it is smaller than the length of the list, overflowing elements are discarded. It is undefined behaviour to set n to be bigger than the length of the list.
fromList :: forall (m :: Type -> Type) a . Monad m => [a] -> Stream m a ()ghc GHC.Data.Stream Turn a list into a Stream, by yielding each element in turn.
fromList :: [(Key, a)] -> Word64Map aghc GHC.Data.Word64Map.Internal Create a map from a list of key/value pairs.
fromList [] == empty fromList [(5,"a"), (3,"b"), (5, "c")] == fromList [(5,"c"), (3,"b")] fromList [(5,"c"), (3,"b"), (5, "a")] == fromList [(5,"a"), (3,"b")]
fromList :: [(Key, a)] -> Word64Map aghc GHC.Data.Word64Map.Lazy Create a map from a list of key/value pairs.
fromList [] == empty fromList [(5,"a"), (3,"b"), (5, "c")] == fromList [(5,"c"), (3,"b")] fromList [(5,"c"), (3,"b"), (5, "a")] == fromList [(5,"a"), (3,"b")]
fromList :: [(Key, a)] -> Word64Map aghc GHC.Data.Word64Map.Strict Create a map from a list of key/value pairs.
fromList [] == empty fromList [(5,"a"), (3,"b"), (5, "c")] == fromList [(5,"c"), (3,"b")] fromList [(5,"c"), (3,"b"), (5, "a")] == fromList [(5,"a"), (3,"b")]
fromList :: [(Key, a)] -> Word64Map aghc GHC.Data.Word64Map.Strict.Internal Create a map from a list of key/value pairs.
fromList [] == empty fromList [(5,"a"), (3,"b"), (5, "c")] == fromList [(5,"c"), (3,"b")] fromList [(5,"c"), (3,"b"), (5, "a")] == fromList [(5,"a"), (3,"b")]
fromList :: [Key] -> Word64Setghc GHC.Data.Word64Set Create a set from a list of integers.
fromList :: [Key] -> Word64Setghc GHC.Data.Word64Set.Internal Create a set from a list of integers.
fromList :: [(Key, a)] -> CharMap aregex-tdfa Data.IntMap.CharMap2 No documentation available.