Trait/Object

sands.sugar.bms.typeclass

BooleanMonad

Related Docs: object BooleanMonad | package typeclass

Permalink

trait BooleanMonad[M[_], C] extends BooleanFunctions[M, C]

Linear Supertypes
BooleanFunctions[M, C], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BooleanMonad
  2. BooleanFunctions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(mb: M[Boolean], bop: BooleanOperator, mbn: ⇒ M[Boolean])(implicit c: C): M[Boolean]

    Permalink
    Definition Classes
    BooleanFunctions
  2. abstract def apply(mb: M[Boolean], bop: BooleanOperator, bn: ⇒ Boolean, dummy: Null = null)(implicit c: C): M[Boolean]

    Permalink
    Definition Classes
    BooleanFunctions
  3. abstract def apply(b: Boolean, bop: BooleanOperator, mbn: ⇒ M[Boolean])(implicit c: C): M[Boolean]

    Permalink
    Definition Classes
    BooleanFunctions
  4. abstract def flatMap[A, B](ma: M[A], f: (A) ⇒ M[B])(implicit c: C): M[B]

    Permalink
  5. abstract def map[A, B](ma: M[A], f: (A) ⇒ B)(implicit c: C): M[B]

    Permalink
  6. abstract def name: String

    Permalink
    Definition Classes
    BooleanFunctions
  7. abstract def pure[A](a: A): M[A]

    Permalink
  8. abstract def tailRecLoop(bodyWithCondition: ⇒ M[Boolean])(implicit c: C): M[Boolean]

    Permalink

    returns monadic predicate which stopped the loop: "zero"-elements (error, empty, None, etc.) or one-element false inside a monad

Concrete 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. val False: M[Boolean]

    Permalink
  5. val True: M[Boolean]

    Permalink
  6. val Unit: M[Unit]

    Permalink
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toMonadicPredicate(mb: M[Boolean])(implicit c: C): M[Boolean]

    Permalink

    Used as predicate of mIf & fmIf statements and loops.

    Used as predicate of mIf & fmIf statements and loops. For single element monads it is identity. For collections it returns reduced collection (1 or 0 elements) with 'true' if collection contains 'true'.

    Override it to use another mapping of collection to monadic predicate.

  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from BooleanFunctions[M, C]

Inherited from AnyRef

Inherited from Any

Ungrouped