Hoogle Search
Within LTS Haskell 23.26 (ghc-9.8.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromList :: HasCallStack => [a] -> NonEmpty abase Data.List.NonEmpty Converts a normal list to a NonEmpty stream. Raises an error if given an empty list.
fromList :: IsList l => [Item l] -> lbase GHC.Exts The fromList function constructs the structure l from the given list of Item l
fromList :: IsList l => [Item l] -> lbase GHC.IsList The fromList function constructs the structure l from the given list of Item l
fromList :: [(Key, a)] -> IntMap acontainers Data.IntMap.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)] -> IntMap acontainers Data.IntMap.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)] -> IntMap acontainers Data.IntMap.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)] -> IntMap acontainers Data.IntMap.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")]
-
containers Data.IntSet Create a set from a list of integers.
-
containers Data.IntSet.Internal Create a set from a list of integers.
fromList :: Ord k => [(k, a)] -> Map k acontainers Data.Map.Internal Build a map from a list of key/value pairs. See also fromAscList. If the list contains more than one value for the same key, the last value for the key is retained. If the keys of the list are ordered, a linear-time implementation is used.
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")]
Page 1 of many | Next