On Sat, Sep 12, 2009 at 6:05 PM, Matthew Welland <[email protected]> wrote:
> On Saturday 12 September 2009 02:13:47 pm you wrote:
>> require works but probably require-library in chicken 4 is the nearest
>> equivalent to "use" in chicken 3. In chicken 4, use now does
>> require-library + import, and the import is causing the problem.
>>
>> As far as modules, as a quick fix you can probably just wrap your
>> geolib source file (etc.) in (module geolib * (import scheme chicken)
>> ...), so USE will operate as it did in Chicken 3.

> I don't want modules. The require behaviour is what I want. I can't figure
> out what the difference is between require and require-library from the
> manual. Mind explaining? TIA

No difference in this case other than syntax.  As described at
http://chicken.wiki.br/man/4/Non-standard%20macros%20and%20special%20forms#require-library

* Otherwise, (require-library ID) is equivalent to (require 'ID).


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to