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.
imapMaybe :: (Int -> a -> Maybe b) -> NonEmptyVector a -> Vector bnonempty-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]
mapMaybe :: (a -> Maybe b) -> NonEmptyVector a -> Vector bnonempty-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]
-
optics-extra Optics.Extra.Internal.Zoom No documentation available.
-
optics-extra Optics.Extra.Internal.Zoom No documentation available.
-
optics-extra Optics.Extra.Internal.Zoom No documentation available.
-
optics-extra Optics.Zoom No documentation available.
-
optics-extra Optics.Zoom No documentation available.
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.
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.
class
ProjectableFlattenMaybe a brelational-query Database.Relational.Arrow Interface to compose phantom Maybe nested type.