Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
nullspecMaybeFields :: Nullspec a b -> Nullspec (MaybeFields a) (MaybeFields b)opaleye Opaleye.MaybeFields No documentation available.
toFieldsMaybeFields :: Nullspec a b -> ToFields a b -> ToFields (Maybe a) (MaybeFields b)opaleye Opaleye.MaybeFields No documentation available.
-
opaleye Opaleye.MaybeFields traverseMaybeFields is analogous to Haskell's traverse :: (a -> [b]) -> Maybe a -> [Maybe b]. In particular, traverse has the following definition that generalises to traverseMaybeFields:
traverse _ Nothing = pure Nothing
traverse f (Just x) = fmap Just (f x)
-
opaleye Opaleye.MaybeFields No documentation available.
unpackspecMaybeFields :: Unpackspec a b -> Unpackspec (MaybeFields a) (MaybeFields b)opaleye Opaleye.MaybeFields No documentation available.
valuesspecMaybeFields :: Valuesspec a b -> Valuesspec (MaybeFields a) (MaybeFields b)opaleye Opaleye.MaybeFields No documentation available.
checkMapMaybe :: HasCallStack => (a -> Maybe b) -> Parser a -> Parser bopt-env-conf OptEnvConf Like checkMapEither but without a helpful error message. Prefer checkMapEither.
checkMapMaybe :: HasCallStack => (a -> Maybe b) -> Parser a -> Parser bopt-env-conf OptEnvConf Like checkMapEither but without a helpful error message. Prefer checkMapEither.
checkMapMaybeForgivable :: HasCallStack => (a -> Maybe b) -> Parser a -> Parser bopt-env-conf OptEnvConf Like checkMapMaybe, but allow trying the other side of any alternative if the result is Nothing.
checkMaybe :: HasCallStack => (a -> Maybe a) -> Parser a -> Parser aopt-env-conf OptEnvConf Like checkMapMaybe but without changing the type