Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. SchemaMaybe :: SchemaType' s ty -> SchemaType' s ty

    aeson-schemas Data.Aeson.Schema.Type

    No documentation available.

  2. addMaybeProxy :: Maybe Proxy -> Request -> Request

    authenticate-oauth Web.Authenticate.OAuth

    No documentation available.

  3. addMaybeProxy :: Maybe Proxy -> Request -> Request

    authenticate-oauth Web.Authenticate.OAuth.IO

    No documentation available.

  4. bumpMaybe :: a -> (a -> b -> b) -> (a -> b) -> Maybe b -> Maybe b

    backprop Numeric.Backprop.Internal

    No documentation available.

  5. mapMaybe :: (a -> Maybe b) -> Trie a -> Maybe (Trie b)

    bcp47 Data.BCP47.Trie

    No documentation available.

  6. mapMaybe :: (a -> Maybe b) -> Trie a -> Maybe (Trie b)

    bcp47 Data.BCP47.Trie.Internal

    No documentation available.

  7. mapMaybe2 :: (a -> Maybe b) -> Trie2 a -> Maybe (Trie2 b)

    bcp47 Data.BCP47.Trie.Internal

    No documentation available.

  8. hsMaybe :: Maybe HsExpr -> HsExpr

    beam-migrate Database.Beam.Haskell.Syntax

    No documentation available.

  9. beamDeserializeMaybe :: Typeable a => BeamDeserializers be -> Maybe Value -> Parser (Maybe a)

    beam-migrate Database.Beam.Migrate.Serialization

    Helper function to deserialize data from a Maybe Value.

    beamDeserializeMaybe _ Nothing = pure Nothing
    beamDeserializeMaybe d (Just v) = Just $ beamDeserialize d v
    

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

    cabal-install-solver Distribution.Solver.Compat.Prelude

    The catMaybes function takes a list of Maybes and returns a list of all the Just values.

    Examples

    Basic usage:
    >>> catMaybes [Just 1, Nothing, Just 3]
    [1,3]
    
    When constructing a list of Maybe values, catMaybes can be used to return all of the "success" results (if the list is the result of a map, then mapMaybe would be more appropriate):
    >>> import GHC.Internal.Text.Read ( readMaybe )
    
    >>> [readMaybe x :: Maybe Int | x <- ["1", "Foo", "3"] ]
    [Just 1,Nothing,Just 3]
    
    >>> catMaybes $ [readMaybe x :: Maybe Int | x <- ["1", "Foo", "3"] ]
    [1,3]
    

Page 238 of many | Previous | Next