Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. catMaybes :: [Maybe a] -> [a]

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

  2. fromMaybe :: a -> Maybe a -> a

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

  3. listToMaybe :: [a] -> Maybe a

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

  4. mapMaybe :: (a -> Maybe b) -> [a] -> [b]

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

  5. readMaybe :: Read a => String -> Maybe a

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

  6. parseGenericPackageDescriptionMaybe :: ByteString -> Maybe GenericPackageDescription

    Cabal-syntax Distribution.PackageDescription.Parsec

    Maybe variant of parseGenericPackageDescription

  7. parsecMaybeQuoted :: CabalParsing m => m a -> m a

    Cabal-syntax Distribution.Parsec

    parsecMaybeQuoted p = parsecQuoted p | p.

  8. breakMaybe :: (a -> Maybe b) -> [a] -> ([a], Maybe (b, [a]))

    Cabal-syntax Distribution.Utils.Generic

    Like break, but with Maybe predicate

    >>> breakMaybe (readMaybe :: String -> Maybe Int) ["foo", "bar", "1", "2", "quu"]
    (["foo","bar"],Just (1,["2","quu"]))
    
    >>> breakMaybe (readMaybe :: String -> Maybe Int) ["foo", "bar"]
    (["foo","bar"],Nothing)
    

  9. spanMaybe :: (a -> Maybe b) -> [a] -> ([b], [a])

    Cabal-syntax Distribution.Utils.Generic

    Like span but with Maybe predicate

    >>> spanMaybe listToMaybe [[1,2],[3],[],[4,5],[6,7]]
    ([1,3],[[],[4,5],[6,7]])
    
    >>> spanMaybe (readMaybe :: String -> Maybe Int) ["1", "2", "foo"]
    ([1,2],["foo"])
    

  10. accessMaybe :: Indexed sh => Array sh a -> Index sh -> Maybe a

    comfort-array Data.Array.Comfort.Boxed

    No documentation available.

Page 168 of many | Previous | Next