[plt-scheme] thank you from JScheme
PEBKAC! That's a great one.
Robby
On 9/13/07, Geoff Knauth <geoff at knauth.org> wrote:
> On Sep 13, 2007, at 13:56, Matthias Felleisen wrote:
> > Did you need the macro stepper?
>
> Generally, yes; this morning, no. The debugging output I saw in
> JScheme initially had me running for the macro stepper to see what
> was going on with the expansion of let* :
>
> --->8---snip--->8---
> (cons (cons 'lambda (cons (map first bindings) body))
> (map second bindings))
>
> varval = (lambda (v)
> (string->symbol (string-append v '"=")))
>
> named-let = (lambda (name bindings body)
> (let ((new-bindings
> (map (lambda (b) (list (varval (car b))...
> bindings = (((i (.indexOf cp ":"))))
> body = ((let* (((subdir (cond ((= i -1) cp) ((> i 0) (substring cp
> 0 i)) (else (error (string-append "appDi...
> --->8---snip--->8---
>
> But then I pressed Check Syntax for a quick check and Lo and Behold
> is was just PEBKAC (Problem Exists Between Keyboard and Cranium).
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>