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.

Author:
  Burak Emir
Version:
  1.0
Since:
  revision 6897 (will be 2.1.1)

Constructor Summary
| `def` this

Def Summary
| `def` filter (p: scala.Function1[a, scala.Boolean]) : scala.Responder[a]
| `def` flatMap [b] (f: scala.Function1[a, scala.Responder[b]]) : scala.Responder[b]
| `def` foreach (k: scala.Function1[a, scala.Unit]) : scala.Unit
| `def` map [b] (f: scala.Function1[a, b]) : scala.Responder[b]
`abstract` | `def` respond (k: scala.Function1[a, scala.Unit]) : scala.Unit

Constructor Detail

`def` this

Def Detail

`def` filter (p: scala.Function1[a, scala.Boolean]): scala.Responder[a]

`def` flatMap [b](f: scala.Function1[a, scala.Responder[b]]): scala.Responder[b]

`def` foreach (k: scala.Function1[a, scala.Unit]): scala.Unit

`def` map [b](f: scala.Function1[a, b]): scala.Responder[b]

`abstract def` respond (k: scala.Function1[a, scala.Unit]): scala.Unit