chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Documentation problem (eggs tutorial and Extensions


From: Jeronimo Pellegrini
Subject: Re: [Chicken-users] Documentation problem (eggs tutorial and Extensions section from the manual)
Date: Mon, 5 Apr 2010 23:21:26 -0300
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Mon, Apr 05, 2010 at 02:16:24PM +0200, Peter Bex wrote:
> This doesn't really have anything to do with eggs.  There was no -j in
> Chicken 3, and in Chicken 4 you use -j <modulename> to create an import
> file for the module named <modulename>.
> 
> Since it's good practice (but not required!) to package eggs that
> provide modules, you'll have to add a -j <modulename> in order to make
> it work.
> 
> Of course, the semantics of (USE foo) changed so it will try to load foo
> and also import the module foo, you'll run into trouble unless you either
> provide a module or switch to (REQUIRE-LIBRARY foo) which will only load
> the .so file without importing anything.

Ah -- I get it now!

> > It seems that the documentation is for Chicken 3; I am not sure if I
> > understand everything that changed in the compiler since the docs were
> > written, otherwise I'd be happy to help updating the manual and eggs
> > tutorial.
> 
> It might have not been updated properly.  It's a good idea to add some
> instructions on providing a module to the tutorial.  Feel free to add it.

OK.

Thanks a lot, Peter!

J.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]