summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-01-05 14:03:54 -0500
committerrsiddharth <s@ricketyspace.net>2019-01-05 14:03:54 -0500
commit0096e0afff9c53c48be6686edfc83d80ecdeac1e (patch)
treeb1ed6a1a27cbfb9038937d73703646a326e3b5dd
parent5a9d30934588cb67206611a5d2dbc8dd36972bce (diff)
net: Add (net ricketyspace sicp two twentythree).
-rw-r--r--net/ricketyspace/sicp/two/twentythree.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/ricketyspace/sicp/two/twentythree.scm b/net/ricketyspace/sicp/two/twentythree.scm
new file mode 100644
index 0000000..230e242
--- /dev/null
+++ b/net/ricketyspace/sicp/two/twentythree.scm
@@ -0,0 +1,8 @@
+;;;; License: CC0-1.0
+
+(define-module (net ricketyspace sicp two twentythree)
+ #:export (for-each-sicp))
+
+(define (for-each-sicp f l)
+ (cond ((null? l) #t)
+ (else (begin (f (car l)) (for-each-sicp f (cdr l))))))