[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #135: load & CHICKEN_INCLUDE_PATH for chicken 4
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #135: load & CHICKEN_INCLUDE_PATH for chicken 4 |
Date: |
Tue, 01 Dec 2009 12:02:50 -0000 |
#135: load & CHICKEN_INCLUDE_PATH for chicken 4
----------------------+-----------------------------------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: compiler | Version: 4.2.x
Keywords: |
----------------------+-----------------------------------------------------
Comment(by felix):
Replying to [ticket:135 mario]:
> == Chicken 3 ==
>...
> == Chicken 4 ==
>...
> Error: (import) during expansion of (import ...) - cannot import from
undefined module: foo4
Import-libraries are not loaded from the include-path, when `require-
extension`
or `use` is used: these always load from the egg-repo. `require` (IIRC,
this confuses me, too) respects the include path, since it is basically a
"load-once" operation.
> #;1> (load "foo4.scm")
> ; loading foo4.scm ...
>
> Error: (open-input-file) cannot open file - No such file or directory:
"foo4.scm"
`load` does never respect the include path, it is the lowest-level loading
mechanism.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/135#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] Re: #135: load & CHICKEN_INCLUDE_PATH for chicken 4,
Chicken Trac <=