[plt-scheme] dumb question
On Dec 19, Jos Koot wrote:
> Hi,
> 
> (module x mzscheme
>  (provide (all-from-except mzscheme add1))
>  (add1 1))
> 
> and
> 
> (module x scheme
>  (add1 1))
> 
> Work ok, but:
> 
> (module x scheme
>  (provide (except-out scheme add1))
>  (add1 1))
> 
> Gives:
> 
> except-out: identifier to remove `add1' not included in nested provide spec in: scheme
> 
> How come? Am I overlooking some parts of the docs?
You need do do this:
  (module x scheme
    (provide (except-out (all-from-out scheme) add1))
    (add1 1))
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!