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` filter ( p : (a) => scala.Boolean ) : scala.Responder[a]
| `def` flatMap [ b ] ( f : (a) => scala.Responder[b] ) : scala.Responder[b]
| `def` foreach ( k : (a) => scala.Unit ) : scala.Unit
| `def` map [ b ] ( f : (a) => b ) : scala.Responder[b]
| `def` respond ( k : (a) => scala.Unit ) : scala.Unit

Constructor Detail

`def` this

Def Detail

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

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

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

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

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