Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
productMaybeWith :: (a -> b -> Maybe c) -> [[a]] -> [[b]] -> [[c]]leancheck Test.LeanCheck.Tiers Take the product of lists of tiers by a function returning a Maybe value discarding Nothing values.
-
quickcheck-classes-base Test.QuickCheck.Classes.Base.IsList No documentation available.
-
quickcheck-classes-base Test.QuickCheck.Classes.Base.IsList Property for the mapMaybe function, which keeps elements for which the predicate holds true.
fromMaybeS :: Selective f => f a -> f (Maybe a) -> f aselective Control.Selective A lifted version of fromMaybe.
greadMaybe :: GRead t => String -> (forall (a :: k) . () => t a -> b) -> Maybe bsome Data.GADT.Show >>> greadMaybe "InL Refl" mkSome :: Maybe (Some (Sum ((:~:) Int) ((:~:) Bool))) Just (mkSome (InL Refl))
>>> greadMaybe "L1 Refl" mkSome :: Maybe (Some ((:~:) Int :+: (:~:) Bool)) Just (mkSome (L1 Refl))
>>> greadMaybe "garbage" mkSome :: Maybe (Some ((:~:) Int)) Nothing
-
dependent-map Data.Dependent.Map O(n). Map keys/values and collect the Just results.
threadMaybe :: (i -> r -> a) -> Split t i r -> SplitM t j i -> SplitM t j afgl Data.Graph.Inductive.Internal.Thread No documentation available.
threadMaybe' :: (r -> a) -> Split t i r -> Split t j (Maybe i) -> Split t j (Maybe a)fgl Data.Graph.Inductive.Internal.Thread No documentation available.
timeoutMaybe :: Exception e => Maybe Int -> e -> IO a -> IO anetwork-transport Network.Transport.Internal If the timeout value is not Nothing, wrap the given computation with a timeout and it if times out throw the specified exception. Identity otherwise.
leftToMaybe :: Either l r -> Maybe lrelude Relude.Monad.Either Maps left part of Either to Maybe.
>>> leftToMaybe (Left True) Just True >>> leftToMaybe (Right "aba") Nothing