chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] to "uses" or not to "uses"


From: Moritz Heidkamp
Subject: Re: [Chicken-users] to "uses" or not to "uses"
Date: Mon, 25 Mar 2013 10:17:30 +0100

Jörg F. Wittenberger <address@hidden> writes:
> (declare (unit foo)
> ;; this are my uses declarations
> (uses bar foobar library)
> ;; end of uses declarations
> )
>
> (module
> foo *
> ;; this is my import list:
> (import bar foobar library)
> ;; end of import list
> )


Ah, alright, try to drop the `declare' and replace `import' with `use'
except for `chicken', `scheme' and `foreign' as well as all modules /
units from which you only want to import syntax (although using `use'
here has the same effect if all the module exports is syntax anyway).

So your example would probably become something like this:

  (module foo *

  (import chicken scheme)
  (use bar foobar library)

  )


Moritz



reply via email to

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