Hacker News new | ask | show | jobs
by stray 3703 days ago
An even briefer response:

    (defun greater10 (value code)
      (when (> value 10)
        (apply (car code)
               (cdr code))))

    (let ((msg "Hello"))
      (greater10 20 `(format t "~a~%" ,msg)))
1 comments

That's not really equivalent to what Rebol does or what my stuff does. What do you do when you want to unbind msg? Or when you want to carry around your bindings with you and change them through function calls?
If you wanted to unbind msg, you wouldn't have bound it in a let block.

If you wanted to carry around your bindings with you and change them through function calls, you'd probably use a special variable.