2007/1/12, felix winkelmann <[EMAIL PROTECTED]>:
On 1/12/07, minh thu <[EMAIL PROTECTED]> wrote:
>
> (define (poll-for-event)
>   (define (poll) ((write "in poll-for-event") ; not shown

That line above has a "(" to much. The arguments become
evaluated, but before the write is executed, the call to "poll"
is. The write is in operator position and might be executed
after the "(poll)".

Just remove the parens around the forms in "poll".


cheers,
felix

Oh thanks, I've looked at something like this but didn't find (so stupid).
And sorry too,

thu


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to