[gambit-list] 4.6.6 or 4.2.8

Marc Feeley feeley at iro.umontreal.ca
Fri Jun 8 11:41:19 EDT 2012


On 2012-06-07, at 12:31 PM, Steve Graham wrote:

> I got some errors when I tried to compile a file:
> 
> root at mepis1:/opt/gambit# cat test.scm
> (define (block))
> 
> (define (f x)
>   (+ (* x x)
>      (- x 1)))
> 
> (define (g y)
>   (f (f y)))
> 
> (pp 123)
> 
> root at mepis1:/opt/gambit# gsc test.scm
> *** ERROR IN "/opt/gambit/test.scm"@1.1 -- Ill-formed special form: define
> root at mepis1:/opt/gambit# gsc -e '(set! c#targ-tree-shake? #t)' test.scm
> *** ERROR IN (string)@1.1 -- Unbound variable: c#targ-tree-shake?
> 
> Any ideas?
> 
> Thanks, Steve

From reading a more recent message of yours, I guess you have discovered that your first line should have been

(declare (block))

Marc




More information about the Gambit-list mailing list