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. tcTyThingTyCon_maybe :: TcTyThing -> Maybe TyCon

    breakpoint Debug.Breakpoint.GhcFacade

    Matches on either a global TyCon or a TcTyCon.

  2. readFileMaybe :: FilePath -> IO (Maybe Text)

    cabal-debian Debian.Debianize.Prelude

    No documentation available.

  3. setMapMaybe :: Ord b => (a -> Maybe b) -> Set a -> Set b

    cabal-debian Debian.Debianize.Prelude

    No documentation available.

  4. hoistMaybe :: forall (f :: Type -> Type) a . Applicative f => Maybe a -> MaybeT f a

    cabal-gild CabalGild.Unstable.Action.EvaluatePragmas

    This was added in transformers-0.6.0.0. See https://hub.darcs.net/ross/transformers/issue/49.

  5. fromMaybe :: Maybe a -> Optional a

    cabal-gild CabalGild.Unstable.Type.Optional

    Converts a Maybe value into an Optional one.

  6. toMaybe :: Optional a -> Maybe a

    cabal-gild CabalGild.Unstable.Type.Optional

    Converts an Optional value into a Maybe one.

  7. type SourceRepoMaybe = SourceRepositoryPackage Maybe

    cabal-install Distribution.Client.Types.SourceRepo

    Distilled from SourceRepo

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

    cabal-install Distribution.Client.Utils

    Parse a string using the Read instance. Succeeds if there is exactly one valid result.

    >>> readMaybe "123" :: Maybe Int
    Just 123
    
    >>> readMaybe "hello" :: Maybe Int
    Nothing
    

  9. liftMaybe :: (MonadError error m, CoHas option error) => option -> Maybe a -> m a

    can-i-haz Control.Monad.Except.CoHas

    Lifts a Maybe into any MonadError error. This function injects the passed option if the Maybe is Nothing.

  10. mapMaybeVarEnv :: (a -> Maybe b) -> VarEnv a -> VarEnv b

    clash-lib Clash.Core.VarEnv

    Apply a function to every element in the environment; values for which the function returns Nothing are removed from the environment

Page 269 of many | Previous | Next