OSDN Git Service

new exampe
authorMIZUNO Hiroki <mzpppp@gmail.com>
Sun, 15 Jun 2008 06:26:19 +0000 (15:26 +0900)
committerMIZUNO Hiroki <mzpppp@gmail.com>
Sun, 15 Jun 2008 06:26:19 +0000 (15:26 +0900)
example/lambda.scm

index 03018c8..e3e62ca 100644 (file)
@@ -1,3 +1,6 @@
 ;;; 3
+;;; 2
 (let ((inc (lambda (x) (+ 1 x))))
-  (print (inc 2)))
\ No newline at end of file
+  (print (inc 2)))
+
+(print ((lambda (x) (+ x 1)) 1))
\ No newline at end of file