[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] bug using syntax-case in load'ed files

From: Alejandro Forero Cuervo
Subject: [Chicken-users] bug using syntax-case in load'ed files
Date: Mon, 23 Oct 2006 21:27:23 +0000
User-agent: Mutt/1.5.9i

This is just to report a bug I found in the syntax-case egg.  I hope
it is not a misundertanding on my case.

If I run csi and eval

    (use html-stream syntax-case srfi-40)
    (stream-cons "foo" stream-null)

I get

    Error: unbound variable: stream-cons .

I tested under Chicken 2.5.  Interestingly, if I change the order and
put syntax-case first (or if I remove html-stream), the second
expression evaluates successfully.

I would appreciate it if this bug in syntax-case were removed.  It did
take me a while to figure out what was going on (my code is far more
complex, the compiled file calls a function in a unit that calls a
function in an egg to load a lot of files in an unpredictable order,
each with its own specific require-extension expresion) and I would
like to remove my workaround from my code.

Thanks! :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]