Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. distinctspecMaybeFields :: WithNulls Distinctspec a b -> Distinctspec (MaybeFields a) (MaybeFields b)

    opaleye Opaleye.Internal.Distinct

    No documentation available.

  2. binaryspecMaybeFields :: WithNulls Binaryspec a b -> Binaryspec (MaybeFields a) (MaybeFields b)

    opaleye Opaleye.Internal.MaybeFields

    No documentation available.

  3. catMaybeFields :: SelectArr i (MaybeFields a) -> SelectArr i a

    opaleye Opaleye.Internal.MaybeFields

    The Opaleye analogue of catMaybes. Most commonly you will want to use this at type

    catMaybeFields :: Select (MaybeFields a) -> Select a
    

  4. eqPPMaybeFields :: EqPP a b -> EqPP (MaybeFields a) (MaybeFields b)

    opaleye Opaleye.Internal.MaybeFields

    No documentation available.

  5. fromFieldsMaybeFields :: FromFields fields haskells -> FromFields (MaybeFields fields) (Maybe haskells)

    opaleye Opaleye.Internal.MaybeFields

    No documentation available.

  6. fromMaybeFields :: Default IfPP b b => b -> MaybeFields b -> b

    opaleye Opaleye.Internal.MaybeFields

    The Opaleye analogue of fromMaybe

  7. fromMaybeFieldsExplicit :: IfPP b b -> b -> MaybeFields b -> b

    opaleye Opaleye.Internal.MaybeFields

    No documentation available.

  8. ifPPMaybeFields :: IfPP a b -> IfPP (MaybeFields a) (MaybeFields b)

    opaleye Opaleye.Internal.MaybeFields

    No documentation available.

  9. mapMaybeFieldsWithNulls :: ProductProfunctor p => p (Field SqlBool) (Field SqlBool) -> WithNulls p a b -> WithNulls p (MaybeFields a) (MaybeFields b)

    opaleye Opaleye.Internal.MaybeFields

    This is only safe if b is OK with having nulls passed through it when they claim to be non-null.

  10. matchMaybe :: Default IfPP b b => MaybeFields a -> (Maybe a -> b) -> b

    opaleye Opaleye.Internal.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
    

Page 282 of many | Previous | Next