diff options
author | Case Duckworth | 2024-04-05 13:38:41 -0500 |
---|---|---|
committer | Case Duckworth | 2024-04-05 13:38:41 -0500 |
commit | 47eace2e69149865a3aeae31bdade132840afc5f (patch) | |
tree | dc64599f97245c2d8413e954df04c2bc1634a33d | |
parent | require repl in makefile (diff) | |
download | lam-47eace2e69149865a3aeae31bdade132840afc5f.tar.gz lam-47eace2e69149865a3aeae31bdade132840afc5f.zip |
Add test file
-rw-r--r-- | a.lam | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/a.lam b/a.lam new file mode 100644 index 0000000..f85ee25 --- /dev/null +++ b/a.lam | |||
@@ -0,0 +1,13 @@ | |||
1 | ;; -*- scheme -*- | ||
2 | |||
3 | (define a (+ 1 2)) | ||
4 | (define b (* a 3)) | ||
5 | |||
6 | (define print | ||
7 | (lambda (x) | ||
8 | (display x) | ||
9 | (newline))) | ||
10 | |||
11 | (print a) | ||
12 | (print b) | ||
13 | (print (+ a b)) | ||