guile-user
[Top][All Lists]
Advanced

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

Re: primitive eval with module => Unbound variable?


From: Jan Nieuwenhuizen
Subject: Re: primitive eval with module => Unbound variable?
Date: Mon, 22 May 2017 22:19:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Andy Wingo writes:

> current-module is dynamically scoped.  Consider:
>
>   (define-module (qux)
>     #:use-module (foo))
>   
>   (baz)
>
> In this case the current module for the baz invocation is (qux).

Ah, yes!  Thanks, now that helps making sense of it.  Why didn't I
consider this option :-)

Greetings,
janneke

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com



reply via email to

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