Re: bug in imports obarray?

2010-04-08 Thread Ludovic Courtès
Hello, Andy Wingo wi...@pobox.com writes: I'm pretty sure this is a bug. We should have module-use! clear entries from the cache -- all entries, probably. The normal case is for all module-use! statements to be executed before before the module is made current. You must be right. The

Re: bug in imports obarray?

2010-04-08 Thread Andy Wingo
Hi! On Thu 08 Apr 2010 22:47, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: I'm pretty sure this is a bug. We should have module-use! clear entries from the cache -- all entries, probably. The normal case is for all module-use! statements to be executed before

bug in imports obarray?

2010-04-07 Thread Andy Wingo
Hi, Consider the following module: (define-module (ice-9 curried-definitions) #:replace ((cdefine . define) (cdefine* . define*))) (define-syntax cdefine (syntax-rules () ((_ ((head . tail) . rest) body body* ...) (cdefine (head . tail)