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. failureToMaybe :: Validation e a -> Maybe e

    validation-selective Validation.Combinators

    Maps Failure of Validation to Just.

    >>> failureToMaybe (Failure True)
    Just True
    
    >>> failureToMaybe (Success "aba")
    Nothing
    

  2. successToMaybe :: Validation e a -> Maybe a

    validation-selective Validation.Combinators

    Maps Success of Validation to Just.

    >>> successToMaybe (Failure True)
    Nothing
    
    >>> successToMaybe (Success "aba")
    Just "aba"
    

  3. catMaybes :: forall (m :: Type -> Type) a . Monad m => Stream m (Maybe a) -> Stream m a

    vector-stream Data.Stream.Monadic

    No documentation available.

  4. mapMaybe :: forall (m :: Type -> Type) a b . Monad m => (a -> Maybe b) -> Stream m a -> Stream m b

    vector-stream Data.Stream.Monadic

    No documentation available.

  5. mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream m a -> Stream m b

    vector-stream Data.Stream.Monadic

    Apply monadic function to each element and drop all Nothings

  6. runParserMaybe :: Parser e a -> ByteString -> Maybe a

    web-rep Web.Rep.Internal.FlatParse

    Run a Parser, throwing away leftovers. Nothing on Fail or Err.

    >>> runParserMaybe ws "x"
    Nothing
    
    >>> runParserMaybe ws " x"
    Just ' '
    

  7. listMaybeRep :: forall (m :: Type -> Type) a . Monad m => Maybe ByteString -> ByteString -> (ByteString -> Maybe a -> SharedRep m (Maybe a)) -> Int -> [a] -> SharedRep m [Maybe a]

    web-rep Web.Rep.SharedReps

    A fixed-sized list of Maybe a's

  8. getMaybeOpt :: Opt tp a => OptionSetting tp -> IO (Maybe a)

    what4 What4.Config

    Return the current value of the option, as a Maybe value.

  9. exprMaybeId :: forall t (tp :: BaseType) . Expr t tp -> Maybe (Nonce t tp)

    what4 What4.Expr.Builder

    No documentation available.

  10. joinMaybePE :: Maybe (PartExpr p v) -> PartExpr p v

    what4 What4.Partial

    joinMaybePE = fromMaybe Unassigned.

Page 260 of many | Previous | Next