Peter Bex scripsit:

> It's not 100% separate, the (begin ...) form allows embedded Scheme forms.

Yes.  As a matter of style, that's meant to be used in situations like
this:

(define library (foo)
  ...
  (cond-expand
    ((library (scheme complex))
     (import (only (scheme complex) real-part imag-part))
    (else
     (begin
       (define (real-part z) z)
       (define (imag-part z) 0))))
  ...)

> Also, our module system already supports separation into files, either
> by using INCLUDE or the shorthand form (module NAME (EXPORT ...) FILENAME)
> from http://wiki.call-cc.org/man/4/Modules

But it does not support separate compilation of those files.  As I said
before, I personally don't consider that a severe limitation.

-- 
John Cowan          http://www.ccil.org/~cowan        [email protected]
You escaped them by the will-death and the Way of the Black Wheel.
I could not.  --Great-Souled Sam

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

Reply via email to