On Oct 5, 2009, at 7:28 PM, lowly coder wrote:
suppose foo.scm:
(module foo
(foo1)
... )
bar.scm:
(module bar
(....)
(import foo) ; this doesn't work ... where do I have to place foo.scm
(require-library foo)
)
also-does-not-work.scm:
(module bar
(...)
(load "foo.scm")
(import foo)
..
)
so given that i have foo.scm ;;; what do I have to do to make
(import foo) work?
If you will be using all exports of foo w/o rename or prefix then this
is easier:
(module bar
(...)
(use foo) ;(require-extension foo)
)
Import is purely syntactic. Best to read as '(import-identifiers foo)'
rather than '(import-library foo)'.
Thanks!
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users
Best Wishes,
Kon
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users