in scala
class Responder

abstract `class` Responder [ a ]
  `extends` java.lang.Object
  `with` scala.ScalaObject

  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.

since:
  revision 6897 (will be 2.1.1)

Constructor Summary
| `def` this

Def Summary
| `def` answer ( k : (a) => scala.Unit ) : scala.Unit
| `def` filter ( p : (a) => scala.Boolean ) : scala.Responder[a]
| `def` flatMap [ b ] ( f : (a) => scala.Responder[b] ) : scala.Responder[b]
| `def` map [ b ] ( f : (a) => b ) : scala.Responder[b]

Constructor Detail

`def` this

Def Detail

`def` answer ( k : (a) => scala.Unit ) : scala.Unit

`def` filter ( p : (a) => scala.Boolean ) : scala.Responder[a]

`def` flatMap [ b ]( f : (a) => scala.Responder[b] ) : scala.Responder[b]

`def` map [ b ]( f : (a) => b ) : scala.Responder[b]