Packages

abstract class Responder[+A] extends Serializable

Instances of responder are the building blocks of small programs written in continuation passing style. By using responder classes in for comprehensions, one can embed domain-specific languages in Scala while giving the impression that programs in these DSLs are written in direct style.

Annotations
@deprecated
Deprecated

(Since version 2.11.0) this class will be removed

Source
Responder.scala
Version

1.0

Since

2.1

Linear Supertypes
Serializable, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Responder
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Responder()

Abstract Value Members

  1. abstract def respond(k: (A) ⇒ Unit): Unit

Concrete Value Members

  1. def filter(p: (A) ⇒ Boolean): Responder[A]
  2. def flatMap[B](f: (A) ⇒ Responder[B]): Responder[B]
  3. def foreach(k: (A) ⇒ Unit): Unit
  4. def map[B](f: (A) ⇒ B): Responder[B]
  5. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    Responder → AnyRef → Any