From 688a466cbfda1e7aeb9e8dfc50e5d40626741af8 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 22 Jul 2014 21:30:28 -0400 Subject: Fix typos in signal-constant and signal-tap docstrings. * sly/signal.scm (signal-constant, signal-tap): Fix docstrings. --- sly/signal.scm | 6 +++--- 1 file 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." -- cgit v1.2.3