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.
envMaybe :: Var a => String -> Parser (Maybe a)envy System.Envy Environment variable getter returning Maybe
-
fakedata Faker.Combinators Tries to generate a value that satisfies a predicate.
λ> import qualified Faker.Address as AD λ> item :: forall a m. Text <- generate $ suchThatMaybe AD.country (x -> (T.length x > 5)) λ> item Just Ecuador
catMaybes :: Filtrable f => f (Maybe a) -> f afiltrable Data.Filtrable catMaybes = mapMaybe id
mapMaybe :: Filtrable f => (a -> Maybe b) -> f a -> f bfiltrable Data.Filtrable Map the container with the given function, dropping the elements for which it returns Nothing.
mapMaybeA :: (Filtrable f, Traversable f, Applicative p) => (a -> p (Maybe b)) -> f a -> p (f b)filtrable Data.Filtrable Traverse the container with the given function, dropping the elements for which it returns Nothing.
runMaybeF :: MaybeF (f :: k -> Type) (a :: k) -> Maybe (f a)functor-combinators Control.Applicative.ListF No documentation available.
runMaybeF :: MaybeF (f :: k -> Type) (a :: k) -> Maybe (f a)functor-combinators Data.Functor.Combinator No documentation available.
data
PMaybe (a :: k -> Type) (b :: Maybe k)functor-products Data.Type.Functor.Product A PMaybe f 'Nothing contains nothing, and a PMaybe f ('Just a) contains an f a. In practice this can be useful to write polymorphic functions/abstractions that contain an argument that can be "turned off" for different instances.
type
XMaybe (f :: k -> Type) = PMaybe XData ffunctor-products Data.Type.Functor.XProduct -
ginger Text.Ginger.Run.Type No documentation available.