[plt-scheme] Cyclic dependencies

From: Ben Goetter (goetter at mazama.net)
Date: 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---

Posted on the users mailing list.