This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bad define placement?


James Dean Palmer <james@tiger-marmalade.com> writes:

> I've gotten a new error with 1.3.2 on some code that worked with 1.3.1:
> 
> (define (foo bar)
>         (display bar)
>         (define c "World") 
>         (display c) )
> 
> (foo "Hello ")
> 
> This gives an error "Bad define placement".  Is the above code really
> incorrect? 


Yes.  

Mikael has ported Aubrey Jaffers enhancements to guile's evaluator.


Jost


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]