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. envMaybe :: Var a => String -> Parser (Maybe a)

    envy System.Envy

    Environment variable getter returning Maybe

  2. suchThatMaybe :: forall a (m :: Type -> Type) . Monad m => FakeT m a -> (a -> Bool) -> FakeT m (Maybe a)

    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
    

  3. catMaybes :: Filtrable f => f (Maybe a) -> f a

    filtrable Data.Filtrable

    catMaybes = mapMaybe id
    

  4. mapMaybe :: Filtrable f => (a -> Maybe b) -> f a -> f b

    filtrable Data.Filtrable

    Map the container with the given function, dropping the elements for which it returns Nothing.

  5. 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.

  6. runMaybeF :: MaybeF (f :: k -> Type) (a :: k) -> Maybe (f a)

    functor-combinators Control.Applicative.ListF

    No documentation available.

  7. runMaybeF :: MaybeF (f :: k -> Type) (a :: k) -> Maybe (f a)

    functor-combinators Data.Functor.Combinator

    No documentation available.

  8. 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.

  9. type XMaybe (f :: k -> Type) = PMaybe XData f

    functor-products Data.Type.Functor.XProduct

    PMaybe over HKD-d types.

  10. warnFromMaybe :: forall (m :: Type -> Type) p a h . Monad m => RuntimeError p -> a -> Maybe a -> Run p m h a

    ginger Text.Ginger.Run.Type

    No documentation available.

Page 246 of many | Previous | Next