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. imapMaybe :: (Int -> a -> Maybe b) -> NonEmptyVector a -> Vector b

    nonempty-vector Data.Vector.NonEmpty

    O(n) Drop elements when predicate, applied to index and value, returns Nothing If no elements satisfy the predicate, the resulting vector may be empty.

    >>> imapMaybe (\i a -> if a == 2 || i == 2 then Nothing else Just a) (unsafeFromList [1..3])
    [1]
    

  2. mapMaybe :: (a -> Maybe b) -> NonEmptyVector a -> Vector b

    nonempty-vector Data.Vector.NonEmpty

    O(n) Drop elements when predicate returns Nothing If no elements satisfy the predicate, the resulting vector may be empty.

    >>> mapMaybe (\a -> if a == 2 then Nothing else Just a) (unsafeFromList [1..3])
    [1,3]
    

  3. rwsMagnifyMaybe :: forall k m w (is :: IxList) a b s c . (Is k An_AffineFold, Applicative m, Monoid w) => Optic' k is a b -> (b -> s -> m (c, s, w)) -> a -> s -> m (Maybe c, s, w)

    optics-extra Optics.Extra.Internal.Zoom

    No documentation available.

  4. rwsZoomMaybe :: forall k m w (is :: IxList) t s r c . (Is k An_AffineTraversal, Monad m, Monoid w) => Optic' k is t s -> (r -> s -> m (c, s, w)) -> r -> t -> m (Maybe c, t, w)

    optics-extra Optics.Extra.Internal.Zoom

    No documentation available.

  5. stateZoomMaybe :: forall k m (is :: IxList) t s c . (Is k An_AffineTraversal, Monad m) => Optic' k is t s -> (s -> m (c, s)) -> t -> m (Maybe c, t)

    optics-extra Optics.Extra.Internal.Zoom

    No documentation available.

  6. magnifyMaybe :: forall k (is :: IxList) c . (Magnify m n b a, Is k An_AffineFold) => Optic' k is a b -> m c -> n (Maybe c)

    optics-extra Optics.Zoom

    No documentation available.

  7. zoomMaybe :: forall k (is :: IxList) c . (Zoom m n s t, Is k An_AffineTraversal) => Optic' k is t s -> m c -> n (Maybe c)

    optics-extra Optics.Zoom

    No documentation available.

  8. optionType_maybe :: OptionType a -> OptionType (Maybe a)

    options Options

    Store an option as a Maybe of another type The value will be Nothing if the option is set to an empty string.

  9. queryMaybe' :: MonadQuery m => Relation p r -> m (PlaceHolders p, Record Flat (Maybe r))

    relational-query Database.Relational

    Join sub-query with place-holder parameter p. Query result is Maybe.

  10. class ProjectableFlattenMaybe a b

    relational-query Database.Relational.Arrow

    Interface to compose phantom Maybe nested type.

Page 235 of many | Previous | Next