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.

  1. 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"
    

  2. 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"
    

  3. fromList :: (Ord a, SymVal a) => [a] -> SSet a

    sbv 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}
    

  4. fromList :: Unbox a => [a] -> Array a

    streamly-core Streamly.Data.Array

    Create an Array from a list. The list must be of finite size.

  5. fromList :: [a] -> Array a

    streamly-core Streamly.Data.Array.Generic

    No documentation available.

  6. 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.

  7. fromList :: MonadIO m => [a] -> m (MutArray a)

    streamly-core Streamly.Data.MutArray.Generic

    No documentation available.

  8. fromList :: forall (m :: Type -> Type) a . Applicative m => [a] -> Stream m a

    streamly-core Streamly.Data.Stream

    Construct a stream from a list of pure values.

  9. fromList :: forall (m :: Type -> Type) a . Applicative m => Unfold m [a] a

    streamly-core Streamly.Data.Unfold

    Convert a list of pure values to a Stream

  10. fromList :: Unbox a => [a] -> Array a

    streamly-core Streamly.Internal.Data.Array

    Create an Array from a list. The list must be of finite size.

Page 24 of many | Previous | Next