diff options
author | Case Duckworth | 2024-02-21 22:20:45 -0600 |
---|---|---|
committer | Case Duckworth | 2024-02-21 22:20:45 -0600 |
commit | 65a1c1f8820425e5a531a1bd4d652390489d4f9c (patch) | |
tree | 5a2bcaba8244e11d764c29752ab1b5da68b2c6ad /readme.txt | |
parent | Add makefile (diff) | |
download | lam-65a1c1f8820425e5a531a1bd4d652390489d4f9c.tar.gz lam-65a1c1f8820425e5a531a1bd4d652390489d4f9c.zip |
Fix weird eval problem
Don't do things ya don't get, kids
Diffstat (limited to 'readme.txt')
-rw-r--r-- | readme.txt | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/readme.txt b/readme.txt index 20b41cf..76f571f 100644 --- a/readme.txt +++ b/readme.txt | |||
@@ -3,20 +3,6 @@ by C. Duckworth | |||
3 | 3 | ||
4 | lam(n.) -- where you go when a scheme goes bad | 4 | lam(n.) -- where you go when a scheme goes bad |
5 | 5 | ||
6 | major work in progress. as of right now ( 2024-02-21 ): | 6 | this is /very much/ a work in progress |
7 | - (define sq (lambda (x) (* x x))) | ||
8 | |||
9 | (sq 4) ;=> 16 | ||
10 | (sq (sq 4)) ;=> 256 | ||
11 | |||
12 | - (define rep (lambda (f) (lambda (x) (f (f x))))) | ||
13 | |||
14 | ((rep sq) 4) ;=> ERROR -- trying to call a string value (Symbol, I think, x) | ||
15 | |||
16 | sad face. | ||
17 | |||
18 | however, +, *, all math.* functions and constants, begin, define, work. | ||
19 | |||
20 | apply also works, i'm pretty sure. scheme-style.(was up late last night, think i got that in) | ||
21 | 7 | ||
22 | contributions/help WELCOME! | 8 | contributions/help WELCOME! |