[plt-scheme] dumb question

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Dec 19 13:30:36 EST 2008

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!


Posted on the users mailing list.