diff options
author | JJ | 2024-06-29 04:31:17 +0000 |
---|---|---|
committer | JJ | 2024-06-29 07:12:06 +0000 |
commit | 67e7d598200047ab5ee8bddd511cac5f52f0c215 (patch) | |
tree | 24955ba6cc509a087342691f0b051d2736268c03 /lib.rkt | |
parent | 30b0c93ce37971450c7ad52bc49ca242d18502fc (diff) |
stlc-dll: add back check cases, inline and fix replace, implement well-formed
Diffstat (limited to 'lib.rkt')
-rw-r--r-- | lib.rkt | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -154,8 +154,3 @@ (check-equal? '(λ a (λ b (λ c (a (b c))))) (α-convert '(λ c (λ a (λ b (c (a b))))))) -(define (replace expr key value) - (match expr - [x #:when (equal? x key) value] - [`(,e ...) `(,@(map (λ (x) (replace x key value)) e))] - [v v])) |