summaryrefslogtreecommitdiff
path: root/2d/signals.scm
Commit message (Collapse)AuthorAgeFilesLines
* Make signal transformer an optional keyword argument.David Thompson2013-12-011-66/+76
| | | | | | * 2d/signals.scm (make-signal): Make transformer optional. (signal-identity): Delete it. (signal-*): Use new constructor.
* Make signal-set! a coroutine.David Thompson2013-12-011-2/+8
| | | | | * 2d/signals.el (signal-set!): Make coroutine. (signal-set-and-propagate!): New procedure.
* Rename signal-listeners to signal-connectors.David Thompson2013-12-011-10/+10
| | | | * 2d/signals.scm: Replace "listeners" with "connectors".
* Add filters to signals to stop propagation.David Thompson2013-12-011-6/+22
| | | | | * 2d/signals.scm (signal-filter, signal-keep?, signal-receive!): New procedures.
* Add signal-lift3 and signal-lift4.David Thompson2013-12-011-0/+21
| | | | * 2d/signals.scm (signal-lift3, signal-lift4): New procedures.
* Add signal-ref-maybe procedure.David Thompson2013-11-301-1/+9
| | | | * 2d/signals.scm (signal-ref-maybe): New procedure.
* Remove stage stuff from game module and use signals.David Thompson2013-11-301-18/+18
| | | | Moving my work to another machine so this commit is ugly.
* Refactor signals module.David Thompson2013-11-291-68/+57
| | | | * 2d/signals.scm: Refactor.
* Add signals module for functional reactive programming.David Thompson2013-11-291-0/+208
* 2d/signals.scm: New module.