In lib/_repl.scm:<br><br>(define-prim (##make-default-entry-hook) <br> (let ((settings (##vector #f #f))) <br> (lambda (proc args execute) <br>
(if (##vector-ref settings 0) <br> (##step-on)) ;; turn on single-stepping <br> (if (##vector-ref settings 1) <br>
(##trace-generate <br> (##make-call-form proc <br> (##argument-list-remove-absent! args '()) <br>
##max-fixnum) <br> execute <br> #f) <br>
(execute)))))<br><br>how does this code work at all? isn't settings #f #f, which would mean the first if does nothing, and the first part of the second if also does nothing?<br><br>is there some funky dynamic-wind / dynamic scope going on here?<br>