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.
unpackspecMaybeFields :: Unpackspec a b -> Unpackspec (MaybeFields a) (MaybeFields b)opaleye Opaleye.Internal.MaybeFields No documentation available.
valuesspecMaybeFields :: Valuesspec a b -> Valuesspec (MaybeFields a) (MaybeFields b)opaleye Opaleye.Internal.MaybeFields No documentation available.
binaryspecMaybeFields :: WithNulls Binaryspec a b -> Binaryspec (MaybeFields a) (MaybeFields b)opaleye Opaleye.MaybeFields No documentation available.
catMaybeFields :: SelectArr i (MaybeFields a) -> SelectArr i aopaleye Opaleye.MaybeFields The Opaleye analogue of catMaybes. Most commonly you will want to use this at type
catMaybeFields :: Select (MaybeFields a) -> Select a
-
opaleye Opaleye.MaybeFields No documentation available.
-
opaleye Opaleye.MaybeFields No documentation available.
fromMaybeFields :: Default IfPP b b => b -> MaybeFields b -> bopaleye Opaleye.MaybeFields The Opaleye analogue of fromMaybe
fromMaybeFieldsExplicit :: IfPP b b -> b -> MaybeFields b -> bopaleye Opaleye.MaybeFields No documentation available.
matchMaybe :: Default IfPP b b => MaybeFields a -> (Maybe a -> b) -> bopaleye Opaleye.MaybeFields Use a Haskell \case expression to pattern match on a MaybeFields.
example :: MaybeFields (Field SqlInt4) -> Field SqlInt4 example mf = matchMaybe mf $ \case Nothing -> 0 Just x -> x * 100
nullableToMaybeFields :: FieldNullable a -> MaybeFields (Field a)opaleye Opaleye.MaybeFields Convert NULL to nothingFields and non-NULL to a justFields