oetzi/echo — Issue #15: Decide on how to represent FRP at top level
Author: oetzi
Created: 2011-10-17 20:53:39+00:00
State: open
Labels: spec

See this: http://stackoverflow.com/questions/7771044/how-should-frp-work-at-the-top-level

I think `changes` presents a semantic problem as a continuous Behaviour doesn't really have changes. This is a very expressive way to use Behaviours in GUIs etc however.

`changes` could possibly be used only internally by introducing a `sets` or `defines` function that takes in a closure like so:

val beh = new Behaviour(time => time)
beh.defines(textField.setText(_))

This does hide anything nasty at an implementation level but I'm not sure how intuitive it is...