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 :: IsSequence seq => [Element seq] -> seqmono-traversable Data.Sequences Convert a list to a sequence.
> fromList [a, b, c] :: Text "abc"
fromList :: [(Key, v)] -> KeyMap vautodocodec Autodocodec.Aeson.Compat No documentation available.
fromList :: (Eq k, Hashable k) => [(k, v)] -> HashMap k vrio RIO.HashMap Construct a map with the supplied mappings. If the list contains duplicate mappings, the later mappings take precedence.
fromList :: (Eq a, Hashable a) => [a] -> HashSet ario RIO.HashSet Construct a set from a list of elements.
fromList :: Ord k => [(k, a)] -> Map k ario RIO.Map 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")]
fromList :: HasCallStack => [a] -> NonEmpty ario RIO.NonEmpty.Partial Converts a normal list to a NonEmpty stream. Raises an error if given an empty list.
-
rio RIO.Seq Create a sequence from a finite list of elements. There is a function toList in the opposite direction for all instances of the Foldable class, including Seq.
fromList :: Ord a => [a] -> Set ario RIO.Set Create a set from a list of elements. If the elements are ordered, a linear-time implementation is used.
fromList :: Vector v a => [a] -> v ario RIO.Vector No documentation available.
-
rio RIO.Vector.Boxed No documentation available.