Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. (.===) :: EqSymbolic a => a -> a -> SBool

    sbv Data.SBV.Internals

    Strong equality. On floats (SFloat/SDouble), strong equality is object equality; that is NaN == NaN holds, but +0 == -0 doesn't. On other types, (.===) is simply (.==). Note that (.==) is the right notion of equality for floats per IEEE754 specs, since by definition +0 == -0 and NaN equals no other value including itself. But occasionally we want to be stronger and state NaN equals NaN and +0 and -0 are different from each other. In a context where your type is concrete, simply use fpIsEqualObject. But in a polymorphic context, use the strong equality instead. NB. If you do not care about or work with floats, simply use (.==) and (./=).

  2. (.=>) :: SBool -> SBool -> SBool

    sbv Data.SBV.Internals

    Symbolic implication

  3. (.||) :: SBool -> SBool -> SBool

    sbv Data.SBV.Internals

    Symbolic disjunction

  4. (.~&) :: SBool -> SBool -> SBool

    sbv Data.SBV.Internals

    Symbolic nand

  5. (.~|) :: SBool -> SBool -> SBool

    sbv Data.SBV.Internals

    Symbolic nor

  6. (.:) :: SymVal a => SBV a -> SList a -> SList a

    sbv Data.SBV.List

    Prepend an element, the traditional cons.

  7. (.%) :: SInteger -> SInteger -> SRational

    sbv Data.SBV.Rational

    Construct a symbolic rational from a given numerator and denominator. Note that it is not possible to deconstruct a rational by taking numerator and denominator fields, since we do not represent them canonically. (This is due to the fact that SMTLib has no functions to compute the GCD. One can use the maximization engine to compute the GCD of numbers, but not as a function.)

  8. (.:) :: SChar -> SString -> SString

    sbv Data.SBV.String

    Prepend an element, the traditional cons.

  9. (.&&) :: SBool -> SBool -> SBool

    sbv Data.SBV.Trans

    Symbolic conjunction

  10. (./=) :: EqSymbolic a => a -> a -> SBool

    sbv Data.SBV.Trans

    Symbolic inequality.

Page 46 of many | Previous | Next