Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromList :: (RichSExpr t -> Either String a) -> RichSExpr t -> Either String [a]s-cargot Data.SCargot.Repr.Rich Utility function for parsing a proper list of things.
>>> fromList fromAtom (L [A "this", A "that", A "the-other"]) Right ["this","that","the-other"] >>> fromList fromAtom (DL [A "this", A "that"] "the-other"]) Left "asList: expected proper list; found dotted list"
fromList :: (WellFormedSExpr t -> Either String a) -> WellFormedSExpr t -> Either String [a]s-cargot Data.SCargot.Repr.WellFormed Utility function for parsing a list of things.
>>> fromList fromAtom (L [A "this", A "that", A "the-other"]) Right ["this","that","the-other"] >>> fromList fromAtom (A "pachyderm") Left "asList: expected proper list; found dotted list"
fromList :: (Ord a, SymVal a) => [a] -> SSet asbv Data.SBV.Set Conversion from a list.
>>> fromList ([] :: [Integer]) {} :: {SInteger} >>> fromList [1,2,3] {1,2,3} :: {SInteger} >>> fromList [5,5,5,12,12,3] {3,5,12} :: {SInteger}
fromList :: Unbox a => [a] -> Array astreamly-core Streamly.Data.Array Create an Array from a list. The list must be of finite size.
-
streamly-core Streamly.Data.Array.Generic No documentation available.
fromList :: (MonadIO m, Unbox a) => [a] -> m (MutArray a)streamly-core Streamly.Data.MutArray Create a MutArray from a list. The list must be of finite size.
fromList :: MonadIO m => [a] -> m (MutArray a)streamly-core Streamly.Data.MutArray.Generic No documentation available.
fromList :: forall (m :: Type -> Type) a . Applicative m => [a] -> Stream m astreamly-core Streamly.Data.Stream Construct a stream from a list of pure values.
fromList :: forall (m :: Type -> Type) a . Applicative m => Unfold m [a] astreamly-core Streamly.Data.Unfold Convert a list of pure values to a Stream
fromList :: Unbox a => [a] -> Array astreamly-core Streamly.Internal.Data.Array Create an Array from a list. The list must be of finite size.