unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Strange undefined binding bug coupled to module system
@ 2004-10-20 13:12 Mikael Djurfeldt
  2004-10-24 18:55 ` Mikael Djurfeldt
  0 siblings, 1 reply; 8+ messages in thread
From: Mikael Djurfeldt @ 2004-10-20 13:12 UTC (permalink / raw)
  Cc: djurfeldt

Loading of the following code:

foo.scm:
----------------------------------------------------------------------
(define-module (foo))

(define (encapsulate proc)
  (lambda (_) (proc _)))

(display round)
(newline)
(define round (encapsulate round))
----------------------------------------------------------------------

Gives (since some change during last spring):

guile> (load "foo.scm")
#<primitive-procedure round>

Backtrace:
In unknown file:
   ?: 0* [primitive-load "foo.scm"]
In foo.scm:
   8: 1* (define round (encapsulate round))
   8: 2* [encapsulate ...

foo.scm:8:15: While evaluating arguments to encapsulate in expression (encapsulate round):
foo.scm:8:15: Unbound variable: round
ABORT: (unbound-variable)


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-12-22 20:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20 13:12 Strange undefined binding bug coupled to module system Mikael Djurfeldt
2004-10-24 18:55 ` Mikael Djurfeldt
2004-11-04 14:10   ` Marius Vollmer
2004-11-10  8:51     ` Mikael Djurfeldt
2004-12-15 17:29       ` Marius Vollmer
2004-12-15 19:16         ` Mikael Djurfeldt
2004-12-22 15:35           ` Marius Vollmer
2004-12-22 20:29             ` Mikael Djurfeldt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).