Hoogle Search

Within LTS Haskell 24.22 (ghc-9.10.3)

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

  1. (||.) :: BeamSqlBackend be => QGenExpr context be s Bool -> QGenExpr context be s Bool -> QGenExpr context be s Bool

    beam-core Database.Beam.Query

    SQL OR operator

  2. (.|.) :: (Enum a, Bits w) => T w a -> T w a -> T w a

    enumset Data.EnumBitSet

    No documentation available.

  3. (.|.) :: Bits a => a -> a -> a

    foundation Foundation.Bits

    Bitwise "or"

  4. (.||.) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> Property

    massiv-test Test.Massiv.Utils

    Disjunction: p1 .||. p2 passes unless p1 and p2 simultaneously fail.

  5. (?|.) :: EntityField record Value -> [Text] -> Filter record

    persistent-postgresql Database.Persist.Postgresql.JSON

    This operator takes a column and a list of strings to test whether ANY of the elements of the list are top level fields in an object.

    column ?|. list
    
    N.B. An empty list will never match anything. Also, this operator might have some unexpected interactions with non-object values. Please reference the examples.

    Objects

    {"a":null}                 ?| ["a","b","c"] == True
    {"test":false,"a":500}     ?| ["a","b","c"] == True
    {}                         ?| ["a","{}"]    == False
    {"b":{"a":[]}}             ?| ["a","c"]     == False
    {"b":{"a":[]},"test":null} ?| []            == False
    

    Arrays

    This operator will match an array if any of the elements of the list are matching string elements of the array.
    ["a"]              ?| ["a","b","c"] == True
    [["a"]]            ?| ["a","b","c"] == False
    [9,false,"1",null] ?| ["a","false"] == False
    []                 ?| ["a","b","c"] == False
    []                 ?| []            == False
    [{"a":true}]       ?| ["a","b","c"] == False
    [null,4,"b",[]]    ?| ["a","b","c"] == True
    

    Other values

    This operator functions much like an equivalence operator on strings only. If a string matches with any element of the given list, the comparison matches. No other values match.
    "a"  ?| ["a","b","c"] == True
    "1"  ?| ["a","b","1"] == True
    "ab" ?| ["a","b","c"] == False
    1    ?| ["a","1"]     == False
    null ?| ["a","null"]  == False
    true ?| ["a","true"]  == False
    "a"  ?| []            == False
    

  6. (.||.) :: Monad m => m ExitCode -> m ExitCode -> m ExitCode

    turtle Turtle.Prelude

    Analogous to || in Bash Run the second command only if the first one returns ExitFailure

  7. (.|.) :: Grid a -> Grid a -> Grid a

    Chart Graphics.Rendering.Chart.Grid

    A synonym for beside.

  8. (.|.) :: Bits a => a -> a -> a

    base-prelude BasePrelude.Operators

    Bitwise "or"

  9. (.||.) :: OperatorContext c => Record c a -> Record c a -> Record c a

    relational-query Database.Relational.Arrow

    Concatenate operator corresponding SQL || .

  10. (.||.) :: OperatorContext c => Record c a -> Record c a -> Record c a

    relational-query Database.Relational.Projectable

    Concatenate operator corresponding SQL || .

Page 5 of many | Previous | Next