Trait/Object

spire.algebra

Bool

Related Docs: object Bool | package algebra

Permalink

trait Bool[A] extends Heyting[A]

A boolean algebra is a structure that defines a few basic operations, namely as conjunction (&), disjunction (|), and negation (~). Both conjunction and disjunction must be associative, commutative and should distribute over each other. Also, both have an identity and they obey the absorption law; that is x & (y | x) == x and x | (x & y) == x.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bool
  2. Heyting
  3. BoundedLattice
  4. BoundedJoinSemilattice
  5. BoundedMeetSemilattice
  6. Lattice
  7. MeetSemilattice
  8. JoinSemilattice
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def and(a: A, b: A): A

    Permalink
    Definition Classes
    Heyting
  2. abstract def complement(a: A): A

    Permalink
    Definition Classes
    Heyting
  3. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any
  4. abstract def one: A

    Permalink
    Definition Classes
    BoundedMeetSemilattice
  5. abstract def or(a: A, b: A): A

    Permalink
    Definition Classes
    Heyting
  6. abstract def zero: A

    Permalink
    Definition Classes
    BoundedJoinSemilattice

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def dual: Bool[A]

    Permalink
  6. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  7. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  8. def imp(a: A, b: A): A

    Permalink
    Definition Classes
    BoolHeyting
  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. def isOne(a: A)(implicit ev: Eq[A]): Boolean

    Permalink
    Definition Classes
    BoundedMeetSemilattice
  11. def isZero(a: A)(implicit ev: Eq[A]): Boolean

    Permalink
    Definition Classes
    BoundedJoinSemilattice
  12. def join(a: A, b: A): A

    Permalink
    Definition Classes
    HeytingJoinSemilattice
  13. def meet(a: A, b: A): A

    Permalink
    Definition Classes
    HeytingMeetSemilattice
  14. def nand(a: A, b: A): A

    Permalink
  15. def nor(a: A, b: A): A

    Permalink
  16. def nxor(a: A, b: A): A

    Permalink
  17. def toString(): String

    Permalink
    Definition Classes
    Any
  18. def xor(a: A, b: A): A

    Permalink

Inherited from Heyting[A]

Inherited from BoundedLattice[A]

Inherited from BoundedJoinSemilattice[A]

Inherited from BoundedMeetSemilattice[A]

Inherited from Lattice[A]

Inherited from MeetSemilattice[A]

Inherited from JoinSemilattice[A]

Inherited from Any

Ungrouped