10 ms·
A tale of many nests
- gumby 9y agoI admit that the common lisp LET special form follows what you call the ALGOL style (for binding at least), but the traditional Lisp scoping seems more natural to me.
- m1el 9y agoA while ago, I wrote this little macro which does the same thing in racket: (define-syntax (-> x) (let ((arg (cdr (syntax-e x)))) (foldl (λ (l r) (if (identifier? l) #`(#,l #,r) #`(#,@l #,r))) (car arg) (cdr arg)))) Same ideas showing up again and again. Pretty cool, I guess.
- junke 9y ago> [...] and the line limit isn't an increasing threat as my functions get more complex. This is a feature.