[plt-scheme] Cyclic dependencies
Ben Goetter
goetter at mazama.net
Wed Oct 22 20:46:59 EDT 2008
Compiling the following brief program "buga.ss" within DrScheme puts it
(released version 4.1.1, Win XP SP3) in a loop. Eventually it aborts
compilation, having hit its 384 Mb heap limit.
---file "buga.ss"---
#lang scheme
(require "bugb.ss")
(provide foo)
(define (foo) 'ziggy)
(define (bar) (baz))
---end of file---
---file "bugb.ss"---
#lang scheme
(require (only-in "buga.ss" foo))
(provide baz)
(define (baz) (foo))
---end of file---
More information about the plt-scheme
mailing list