On 16-10-2022 16:07, Jean Abou Samra wrote:
Is there some way to make this work? In my real code,
the expression is read from a file, where it might be a macro
definition or anything else, and it's evaluated in a different module
from the current one.
You cannot byte-compile code in advan
On 16-10-2022 11:39, Paul Jarc wrote:
Hi. I'm updating some old code to work with newer versions of Guile.
This example used to work with 1.8, but gives an error with 2.2 and
later:
(begin
(eval '(define-syntax-rule (rule x) x) (current-module))
(display (rule "ok\n")))
ERROR: Wrong ty
On 16-10-2022 11:39, Paul Jarc wrote:
Hi. I'm updating some old code to work with newer versions of Guile.
This example used to work with 1.8, but gives an error with 2.2 and
later:
(begin
(eval '(define-syntax-rule (rule x) x) (current-module))
(display (rule "ok\n")))
ERROR: Wrong type
Le 16/10/2022 à 11:39, Paul Jarc a écrit :
Hi. I'm updating some old code to work with newer versions of Guile.
This example used to work with 1.8, but gives an error with 2.2 and
later:
(begin
(eval '(define-syntax-rule (rule x) x) (current-module))
(display (rule "ok\n")))
ERROR: Wrong
> [...]
Applied the two patches. Now in master.
Greetings,
Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
Dmitry Polyakov writes:
>> Using fibers, I thought I could run the web server in seperate thread
>> that dont block current one where, for example, I could rebind the
>> handler (via ice-9 atomics or something). But it's not, after eval
>> (run-server handler), repl get stuck. May be I misunders