Object

scalaz.std.AnyValInstances

booleanInstance

Related Doc: package AnyValInstances

Permalink

implicit object booleanInstance extends Enum[Boolean] with Show[Boolean]

Source
AnyVal.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. booleanInstance
  2. Show
  3. Enum
  4. Order
  5. Equal
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait EnumLaw extends OrderLaw

    Permalink
    Definition Classes
    Enum
  2. trait EqualLaw extends AnyRef

    Permalink
    Definition Classes
    Equal
  3. trait OrderLaw extends EqualLaw

    Permalink
    Definition Classes
    Order

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(x: Boolean, y: Boolean): Ordering

    Permalink
    Definition Classes
    Order
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. object conjunction extends Monoid[Boolean]

    Permalink
  8. def contramap[B](f: (B) ⇒ Boolean): Order[B]

    Permalink
    Definition Classes
    OrderEqual
  9. object disjunction extends Monoid[Boolean]

    Permalink
  10. def enumLaw: EnumLaw

    Permalink
    Definition Classes
    Enum
  11. val enumSyntax: EnumSyntax[Boolean]

    Permalink
    Definition Classes
    Enum
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equal(x: Boolean, y: Boolean): Boolean

    Permalink
    Definition Classes
    OrderEqual
  14. def equalIsNatural: Boolean

    Permalink

    returns

    true, if equal(f1, f2) is known to be equivalent to f1 == f2

    Definition Classes
    booleanInstanceEqual
  15. def equalLaw: EqualLaw

    Permalink
    Definition Classes
    Equal
  16. val equalSyntax: EqualSyntax[Boolean]

    Permalink
    Definition Classes
    Equal
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def from(a: Boolean): EphemeralStream[Boolean]

    Permalink
    Definition Classes
    Enum
  20. def fromStep(n: Int, a: Boolean): EphemeralStream[Boolean]

    Permalink
    Definition Classes
    Enum
  21. def fromStepTo(n: Int, a: Boolean, z: Boolean): EphemeralStream[Boolean]

    Permalink
    Definition Classes
    Enum
  22. def fromStepToL(n: Int, a: Boolean, z: Boolean): List[Boolean]

    Permalink
    Definition Classes
    Enum
  23. def fromTo(a: Boolean, z: Boolean): EphemeralStream[Boolean]

    Permalink
    Definition Classes
    Enum
  24. def fromToL(a: Boolean, z: Boolean): List[Boolean]

    Permalink
    Definition Classes
    Enum
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def greaterThan(x: Boolean, y: Boolean): Boolean

    Permalink
    Definition Classes
    Order
  27. def greaterThanOrEqual(x: Boolean, y: Boolean): Boolean

    Permalink
    Definition Classes
    Order
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. def lessThan(x: Boolean, y: Boolean): Boolean

    Permalink
    Definition Classes
    Order
  31. def lessThanOrEqual(x: Boolean, y: Boolean): Boolean

    Permalink
    Definition Classes
    Order
  32. def max: Some[Boolean]

    Permalink
    Definition Classes
    booleanInstanceEnum
  33. def max(x: Boolean, y: Boolean): Boolean

    Permalink
    Definition Classes
    Order
  34. def min: Some[Boolean]

    Permalink
    Definition Classes
    booleanInstanceEnum
  35. def min(x: Boolean, y: Boolean): Boolean

    Permalink
    Definition Classes
    Order
  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. def order(x: Boolean, y: Boolean): Ordering

    Permalink
    Definition Classes
    booleanInstanceOrder
  40. def orderLaw: OrderLaw

    Permalink
    Definition Classes
    Order
  41. val orderSyntax: OrderSyntax[Boolean]

    Permalink
    Definition Classes
    Order
  42. def pred(b: Boolean): Boolean

    Permalink
    Definition Classes
    booleanInstanceEnum
  43. def predState[X](f: (Boolean) ⇒ X): State[Boolean, X]

    Permalink

    Produce a state value that executes the predecessor (pred) on each spin and executing the given function on the current value.

    Produce a state value that executes the predecessor (pred) on each spin and executing the given function on the current value. This is useful to implement decremental looping. Evaluating the state value requires a beginning to decrement from.

    f

    The function to execute on each spin of the state value.

    Definition Classes
    Enum
  44. def predStateMax[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ Y): Option[Y]

    Permalink

    Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given mapping function.

    Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given mapping function. This is useful to implement decremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The mapping function.

    Definition Classes
    Enum
  45. def predStateMaxM[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ State[Boolean, Y]): Option[Y]

    Permalink

    Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given binding function.

    Produce a value that starts at the maximum (if it exists) and decrements through a state value with the given binding function. This is useful to implement decremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The binding function.

    Definition Classes
    Enum
  46. def predStateZero[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ Y)(implicit m: Monoid[Boolean]): Y

    Permalink

    Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given mapping function.

    Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given mapping function. This is useful to implement decremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The mapping function.

    m

    The implementation of the zero function from which to start.

    Definition Classes
    Enum
  47. def predStateZeroM[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ State[Boolean, Y])(implicit m: Monoid[Boolean]): Y

    Permalink

    Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given binding function.

    Produce a value that starts at zero (Monoid.zero) and decrements through a state value with the given binding function. This is useful to implement decremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The binding function.

    m

    The implementation of the zero function from which to start.

    Definition Classes
    Enum
  48. def predn(n: Int, b: Boolean): Boolean

    Permalink
    Definition Classes
    booleanInstanceEnum
  49. def predx: Kleisli[Option, Boolean, Boolean]

    Permalink

    Moves to the predecessor, unless at the minimum.

    Moves to the predecessor, unless at the minimum.

    Definition Classes
    Enum
  50. def reverseOrder: Order[Boolean]

    Permalink
    Definition Classes
    Order
  51. def show(f: Boolean): Cord

    Permalink
    Definition Classes
    Show
  52. val showSyntax: ShowSyntax[Boolean]

    Permalink
    Definition Classes
    Show
  53. def shows(f: Boolean): String

    Permalink
    Definition Classes
    booleanInstanceShow
  54. def sort(x: Boolean, y: Boolean): (Boolean, Boolean)

    Permalink
    Definition Classes
    Order
  55. def succ(b: Boolean): Boolean

    Permalink
    Definition Classes
    booleanInstanceEnum
  56. def succState[X](f: (Boolean) ⇒ X): State[Boolean, X]

    Permalink

    Produce a state value that executes the successor (succ) on each spin and executing the given function on the current value.

    Produce a state value that executes the successor (succ) on each spin and executing the given function on the current value. This is useful to implement incremental looping. Evaluating the state value requires a beginning to increment from.

    f

    The function to execute on each spin of the state value.

    Definition Classes
    Enum
  57. def succStateMin[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ Y): Option[Y]

    Permalink

    Produce a value that starts at the minimum (if it exists) and increments through a state value with the given mapping function.

    Produce a value that starts at the minimum (if it exists) and increments through a state value with the given mapping function. This is useful to implement incremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The mapping function.

    Definition Classes
    Enum
  58. def succStateMinM[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ State[Boolean, Y]): Option[Y]

    Permalink

    Produce a value that starts at the minimum (if it exists) and increments through a state value with the given binding function.

    Produce a value that starts at the minimum (if it exists) and increments through a state value with the given binding function. This is useful to implement incremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The binding function.

    Definition Classes
    Enum
  59. def succStateZero[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ Y)(implicit m: Monoid[Boolean]): Y

    Permalink

    Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given mapping function.

    Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given mapping function. This is useful to implement incremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The mapping function.

    m

    The implementation of the zero function from which to start.

    Definition Classes
    Enum
  60. def succStateZeroM[X, Y](f: (Boolean) ⇒ X, k: (X) ⇒ State[Boolean, Y])(implicit m: Monoid[Boolean]): Y

    Permalink

    Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given binding function.

    Produce a value that starts at zero (Monoid.zero) and increments through a state value with the given binding function. This is useful to implement incremental looping.

    f

    The function to execute on each spin of the state value.

    k

    The binding function.

    m

    The implementation of the zero function from which to start.

    Definition Classes
    Enum
  61. def succn(n: Int, b: Boolean): Boolean

    Permalink
    Definition Classes
    booleanInstanceEnum
  62. def succx: Kleisli[Option, Boolean, Boolean]

    Permalink

    Moves to the successor, unless at the maximum.

    Moves to the successor, unless at the maximum.

    Definition Classes
    Enum
  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  64. def toScalaOrdering: scala.math.Ordering[Boolean]

    Permalink

    Definition Classes
    Order
    Note

    Order.fromScalaOrdering(toScalaOrdering).order(x, y)

    this.order(x, y)

  65. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  66. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Show[Boolean]

Inherited from Enum[Boolean]

Inherited from Order[Boolean]

Inherited from Equal[Boolean]

Inherited from AnyRef

Inherited from Any

Ungrouped