summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-07-22 21:30:28 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-07-22 21:30:28 -0400
commit688a466cbfda1e7aeb9e8dfc50e5d40626741af8 (patch)
tree7cf8f7637778e859398020b33e25bbfcc3498073
parenta16b75ba5504c1605fa5638e0cea14a2ab693e16 (diff)
Fix typos in signal-constant and signal-tap docstrings.
* sly/signal.scm (signal-constant, signal-tap): Fix docstrings.
-rw-r--r--sly/signal.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/sly/signal.scm b/sly/signal.scm
index 3e5ce26..aab18b8 100644
--- a/sly/signal.scm
+++ b/sly/signal.scm
@@ -272,8 +272,8 @@ signal PRED is true, or the value of the signal OFF otherwise."
(list pred)))
(define (signal-constant constant signal)
- "Create a new signal whose value is always CONSTANT regardless of
-what the value received from SIGNAL."
+ "Create a new signal whose value is always CONSTANT no matter the
+value of SIGNAL."
(signal-map (lambda (value) constant) signal))
(define (signal-count signal)
@@ -282,7 +282,7 @@ value from SIGNAL is received."
(signal-fold + 0 (signal-constant 1 signal)))
(define (signal-tap proc signal)
- "Create a new signal that applies PROC when a new values is received
+ "Create a new signal that applies PROC when a new value is received
from SIGNAL. The value of the new signal will always be the value of
SIGNAL. This signal is a convenient way to sneak a procedure that has
a side-effect into a signal chain."