[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Problem with creating extensions
From: |
Christian Kellermann |
Subject: |
Re: [Chicken-users] Problem with creating extensions |
Date: |
Wed, 16 Oct 2013 20:51:41 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Matt!
* Matt Gushee <address@hidden> [131016 19:03]:
> On Wed, Oct 16, 2013 at 10:21 AM, Thomas Hintz <address@hidden> wrote:
> > Greetings Pluijzer,
> >
> > I think you need to put your hello.scm code in a module.
>
> I suspected that was the case, but I wasn't sure and didn't have time
> to test it.
>
> If so, I think the documentation for 'require-extension' needs an
> update. The manual states:
>
> [(require-extension ID ...)] is equivalent to (require-library ID
> ...) but performs an implicit import, if necessary.
>
> As I read it, that implies that placing the extension code in a module
> is *optional*. But apparently it is now required.
What would be a better explanation that would work for you?
Kind regards,
Christian
--
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu