Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. unDynBool :: DynBool -> Bool

    aws Aws.DynamoDb.Core

    No documentation available.

  2. pgBoolAnd :: QExpr Postgres s a -> QAgg Postgres s (Maybe Bool)

    beam-postgres Database.Beam.Postgres

    Postgres bool_and aggregate. Returns false unless every row is true.

  3. pgBoolOr :: QExpr Postgres s a -> QAgg Postgres s (Maybe Bool)

    beam-postgres Database.Beam.Postgres

    Postgres bool_or aggregate. Returns true if any of the rows are true.

  4. QueryBoolQuery :: BoolQuery -> Query

    bloodhound Database.Bloodhound.Common.Types

    No documentation available.

  5. mkBoolQuery :: [Query] -> [Filter] -> [Query] -> [Query] -> BoolQuery

    bloodhound Database.Bloodhound.Common.Types

    No documentation available.

  6. data OverridingBool

    clash-lib Clash.Driver.Bool

    No documentation available.

  7. fromGhcOverridingBool :: OverridingBool -> OverridingBool

    clash-lib Clash.Driver.Bool

    No documentation available.

  8. toGhcOverridingBool :: OverridingBool -> OverridingBool

    clash-lib Clash.Driver.Bool

    No documentation available.

  9. getBool :: TExpr -> Maybe Bool

    clash-lib Clash.Primitives.DSL

    Try to get the literal bool value of an expression.

  10. caseBool :: Expr -> Expr -> Expr -> Expr

    code-conjure Conjure.Engine

    A function case :: Bool -> a -> a -> a lifted over the Expr type that encodes case-of-False-True functionality. This is properly displayed as a case-of-False-True expression.

    > caseBool pp zero xx
    (case p of False -> 0; True -> x) :: Int
    
    > zz -*- caseBool pp xx yy
    z * (case p of False -> x; True -> y) :: Int
    
    > caseBool pp false true -||- caseBool qq true false
    (caseBool p of False -> False; True -> True) || (caseBool q of False -> True; True -> False) :: Bool
    
    > evl $ caseBool true (val 'f') (val 't') :: Char
    't'
    
    By convention, the False case comes before True as False < True and data Bool = False | True. When evaluating, this is equivalent to if with arguments reversed. Instead of using this, you are perhaps better of using if encoded as an expression. This is just here to be consistent with caseOrdering.

Page 151 of many | Previous | Next