Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromList :: Storable a => [a] -> Vector ahmatrix Numeric.LinearAlgebra.Data No documentation available.
fromList :: Sized t s d => [t] -> shmatrix Numeric.LinearAlgebra.Static No documentation available.
fromList :: [c] -> IO (InputStream c)io-streams System.IO.Streams.List Transforms a list into an InputStream that produces no side effects.
ghci> is <- Streams.fromList [1, 2] ghci> replicateM 3 (Streams.read is) [Just 1, Just 2, Nothing]
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.