chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] csc, modules, (require), (import)


From: felix winkelmann
Subject: Re: [Chicken-users] csc, modules, (require), (import)
Date: Wed, 10 May 2006 12:37:26 +0200

On 5/10/06, Dan <address@hidden> wrote:
Thank you for your suggestions and explanations,
Felix. I managed to get a (repl)-centered executable
to work properly with modules.

One more thing -- does the following declaration refer
to the module-defined f1? I see that when I (display
f1), it has the mangled name mod1$$f1...

;; mod1.scm
(declare (bound-to-procedure f1))
(module mod1 (f1)
  (define (f1 x) x))

No, the declare'd f1 will be a different (i.e. non-existant) f1.
It will be possible to do this through hacks, but I wouldn't
worry about this level of optimization.


cheers,
felix




reply via email to

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