OSDN Git Service
(root)
/
happyabc
/
happyabc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7545c
)
scope example
author
mzp
<mzpppp@gmail.com>
Tue, 2 Jun 2009 23:15:35 +0000
(08:15 +0900)
committer
mzp
<mzpppp@gmail.com>
Tue, 2 Jun 2009 23:15:35 +0000
(08:15 +0900)
scm/example/scope.scm
[new file with mode: 0644]
patch
|
blob
diff --git a/scm/example/scope.scm
b/scm/example/scope.scm
new file mode 100644
(file)
index 0000000..
10e37f0
--- /dev/null
+++ b/
scm/example/scope.scm
@@ -0,0
+1,7
@@
+(module foo ()
+ (define (fact n)
+ (if (<= n 1)
+ 1
+ (* n (fact (- n 1))))))
+;; scope
+(trace (foo.fact 10))