<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face="Courier New" size=2>Thanks Eli, that works.</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Now that I have seen your answer it's clear
that I misinterpreted the line:</FONT></DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN class=schemeparen>
(</SPAN><SPAN class=schemesymbol>except-out</SPAN><SPAN
class=hspace> </SPAN><SPAN class=schemevariable><FONT
size=3><EM>provide-spec</EM></FONT></SPAN><SPAN class=hspace> </SPAN><SPAN
class=schemevariable>provide-spec</SPAN><SPAN class=hspace> </SPAN><SPAN
class=schememeta>...</SPAN><SPAN class=schemeparen>)</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=schemeparen><FONT face="Courier New" size=2>in the
docs.</FONT></SPAN></DIV>
<DIV><SPAN class=schemeparen><FONT face="Courier New" size=2>Thanks,
Jos</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>----- Original Message ----- </FONT>
<DIV><FONT face="Courier New" size=2>From: "Eli Barzilay" <</FONT><A
href="mailto:eli@barzilay.org"><FONT face="Courier New"
size=2>eli@barzilay.org</FONT></A><FONT face="Courier New"
size=2>></FONT></DIV>
<DIV><FONT face="Courier New" size=2>To: "Jos Koot" <</FONT><A
href="mailto:jos.koot@telefonica.net"><FONT face="Courier New"
size=2>jos.koot@telefonica.net</FONT></A><FONT face="Courier New"
size=2>></FONT></DIV>
<DIV><FONT face="Courier New" size=2>Cc: <</FONT><A
href="mailto:plt-scheme@list.cs.brown.edu"><FONT face="Courier New"
size=2>plt-scheme@list.cs.brown.edu</FONT></A><FONT face="Courier New"
size=2>></FONT></DIV>
<DIV><FONT face="Courier New" size=2>Sent: Friday, December 19, 2008 7:30
PM</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Subject: Re: [plt-scheme] dumb
question</FONT></DIV></DIV>
<DIV><FONT face="Courier New"><BR><FONT size=2></FONT></FONT></DIV><FONT
face="Courier New" size=2>> On Dec 19, Jos Koot wrote:<BR>>>
Hi,<BR>>> <BR>>> (module x mzscheme<BR>>> (provide
(all-from-except mzscheme add1))<BR>>> (add1 1))<BR>>>
<BR>>> and<BR>>> <BR>>> (module x scheme<BR>>>
(add1 1))<BR>>> <BR>>> Work ok, but:<BR>>> <BR>>>
(module x scheme<BR>>> (provide (except-out scheme
add1))<BR>>> (add1 1))<BR>>> <BR>>> Gives:<BR>>>
<BR>>> except-out: identifier to remove `add1' not included in nested
provide spec in: scheme<BR>>> <BR>>> How come? Am I overlooking some
parts of the docs?<BR>> <BR>> You need do do this:<BR>> <BR>>
(module x scheme<BR>> (provide (except-out (all-from-out
scheme) add1))<BR>> (add1 1))<BR>> <BR>> --
<BR>> ((lambda (x) (x
x)) (lambda (x) (x x)))
Eli
Barzilay:<BR>>
</FONT><A href="http://www.barzilay.org/"><FONT face="Courier New"
size=2>http://www.barzilay.org/</FONT></A><FONT face="Courier New"
size=2>
Maze is Life!</FONT></BODY></HTML>