| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* sly/signal.scm (signal-fold): There was no need for using let-over-lambda.
|
|
|
|
|
| |
Simply printing the contents of the signal makes signal objects feel
more native when working at the REPL.
|
|
|
|
|
|
|
|
|
|
|
|
| |
signal-sample had a nasty nondeterministic bug where the newly created
signal might actually be GC'd before it could be returned to the caller.
This was able to happen because no reference to the signal was help
between creating the signal and returning it.
Reported-By: David Hashe <david.hashe@dhashe.com>
* sly/signal.scm (signal-sample): Ensure that the garbage collector
cannot reclaim the new signal before it is returned.
|
|
|
|
| |
* sly/signal.scm (signal-if): Add docstring.
|
|
|
|
| |
* sly/signal.scm (signal-map-maybe): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-if): New syntax.
|
|
|
|
| |
* sly/signal.scm (add-signal-hook!): Apply 'proc' immediately.
|
|
|
|
|
|
|
|
|
| |
* sly/signal.scm (<signal>)[hook]: New field.
(signal-hook): New selector.
(add-signal-hook, remove-signal-hook, clear-signal-hook!): New
procedures.
(%make-signal): Create hook for the signal.
(signal-propagate!): Run hook.
|
|
|
|
|
| |
* sly/signal.scm (signal-call): New procedure.
* doc/api/signals.texi: Add docs.
|
|
|
|
|
| |
* sly/signal.scm: Add comments specifying emacs indentation level for
signal-let and signal-let* syntax.
|
|
|
|
| |
* sly/signal.scm (signal-let, signal-let*): Reimplement.
|
|
|
|
|
|
|
|
| |
I don't know why I wrote that the signal combinators are "higher order
signals", but that's not true. They are just procedures (some of which
are higher order procedures) that take signals as arguments.
* sly/signal.scm: Fix comment.
|
|
|
|
|
| |
* sly/signal.scm (signal-timer): New procedure.
* doc/api/signals.texi: Document it.
|
|
|
|
|
| |
* sly/signal.scm (signal-let): Use signal-ref instead of
signal-ref-maybe.
|
|
|
|
| |
* sly/signal.scm: Tweak docstrings and parameter names.
|
|
|
|
| |
* sly/signal.scm: Remove signal-proc for export list.
|
|
|
|
| |
* sly/signal.scm (signal-sample-on): New procedure.
|
|
|
|
| |
* sly/signal.scm: Set record type printer for <signal>.
|
|
|
|
|
| |
* sly/signal.scm (signal-reject): Delete.
(signal-drop): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-sample): Change 'delay' to 'step'.
|
|
|
|
| |
* sly/signal.scm (signal-time): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-every, signal-since): New procedures.
|
| |
|
|
|
|
| |
* sly/signal.scm (signal-negate): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-let): Use signal-ref-maybe instead of signal-ref.
|
|
|
|
|
| |
* sly/signal.scm (yield): New variable.
(signal-generator): New macro.
|
|
|
|
| |
* sly/signal.scm (signal-let, signal-let*): New macros.
|
|
|
|
| |
* sly/signal.scm (signal-sample): Fix memory leak.
|
|
|
|
| |
* sly/signal.scm (signal-count): Add start and step parameters.
|
|
|
|
| |
* sly/signal.scm (signal-constant, signal-tap): Fix docstrings.
|
|
|
|
| |
* sly/signal.scm (signal-switch): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-drop-repeats): New procedure.
|
|
Massive find/replace job.
|