On Fri 18 Mar 2011 22:16, Noah Lavine noah.b.lav...@gmail.com writes:
The problem is that modules are resolved at compile-time, in addition to
run-time, so there just can’t be circular dependencies.
It's true that a module couldn't depend, at compile-time, on a module
that was only available
Hello all,
I recently ran up against an issue about modules with circular
dependencies while working on PEG stuff. I reduced it to the following
test case.
Here is file test-a.scm:
(define-module (test-a)
#:use-module (test-b))
(define-syntax hello
(syntax-rules ()
((hello) Hello
Hello!
The problem is that modules are resolved at compile-time, in addition to
run-time, so there just can’t be circular dependencies.
Besides, I think it’s generally a problem from an engineering viewpoint
when cycles are introduced.
So my feeling is that Guile should be able to detect cycles
Hello,
The problem is that modules are resolved at compile-time, in addition to
run-time, so there just can’t be circular dependencies.
It's true that a module couldn't depend, at compile-time, on a module
that was only available at run-time. However, I think we could handle
circular