summaryrefslogtreecommitdiff
path: root/2d/signals.scm
Commit message (Collapse)AuthorAgeFilesLines
* Fix signal-map not connecting to all input signals.David Thompson2013-12-151-4/+6
| | | | * 2d/signals.scm (signal-map): Fix bug.
* Rewrite signals module.David Thompson2013-12-151-193/+134
| | | | * 2d/signals.scm: Rewrite module.
* Remove signal-and and signal-or.David Thompson2013-12-121-31/+0
| | | | * 2d/signals.scm (signal-and, signal-or): Remove them.
* Add signal-liftn procedure.David Thompson2013-12-121-0/+9
| | | | * 2d/signals.scm (signal-liftn): New procedure.
* Make init a non-keyword argument in make-signal procedure.David Thompson2013-12-121-5/+4
| | | | | | | * 2d/signals.scm (make-signal): Change parameter list. * 2d/mouse.scm (mouse-position): Remove #:init keyword. * 2d/time.scm (time-interval, time-delay): Remove #:init keyword. * 2d/window.scm (window-size): Remove #:init keyword.
* Add signal-do procedure.David Thompson2013-12-111-1/+13
| | | | * 2d/signals.scm (signal-do): New procedure.
* Change signal-merge to accept an arbitrary amount of signals.David Thompson2013-12-031-8/+5
| | | | * 2d/signals.scm (signal-merge): Accept many signals.
* Add signal-when and signal-unless.David Thompson2013-12-021-1/+27
| | | | * 2d/signals.scm (signal-when, signal-unless): New procedures.
* Use signal-receive! instead of signal-set! in signal-connect!David Thompson2013-12-021-1/+1
| | | | * 2d/signals.scm (signal-connect!): Use signal-receive!
* Define signal-count in terms of signal-fold.David Thompson2013-12-021-4/+3
| | | | * 2d/signals.scm (signal-count): Rewrite.
* Define signal-constant in terms of signal-lift.David Thompson2013-12-021-7/+5
| | | | * 2d/signals.scm (signal-constant): Rewrite.
* Add signal-fold procedure.David Thompson2013-12-021-0/+10
| | | | * 2d/signals.scm (signal-fold): New procedure.
* Fix signal coroutine.David Thompson2013-12-011-8/+3
|
* 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.