[gambit-list] Macro name can't be used as a variable: string-append

Dirk Theisen d.theisen at gmx.net
Wed Aug 14 17:56:41 EDT 2013


Hi!

I'm trying to run the profiler from http://www.iro.umontreal.ca/~germaing/statprof.html with Gambit 4.6.6 and run into multiple problems.

Some, I was able to fix (I'm a scheme beginner), but this...

(define (as-rgb col)
  (apply string-append
         (map
          (lambda (x)
            (pad-left (number->string x 16) 2 #\0))
          col)))

gives me

*** ERROR IN "statprof.scm"@94.20 -- Macro name can't be used as a variable: string-append

I am unable to figure out.

I string-append a macro?

> (procedure? string-append)
#t

Is this a Gambit bug or something I do overlook?

Keep hacking!
    Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20130814/29bab86d/attachment.html 


More information about the Gambit-list mailing list