This sounds like the right solution to me too.<div><br></div><div>Robby<br><br>On Thursday, May 23, 2013, Matthias Felleisen wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
+1<br>
<br>
<br>
On May 23, 2013, at 9:42 AM, Carl Eastlund <<a href="javascript:;" onclick="_e(event, 'cvml', 'cce@ccs.neu.edu')">cce@ccs.neu.edu</a>> wrote:<br>
<br>
><br>
> On Thu, May 23, 2013 at 9:39 AM, Matthias Felleisen <<a href="javascript:;" onclick="_e(event, 'cvml', 'matthias@ccs.neu.edu')">matthias@ccs.neu.edu</a>> wrote:<br>
><br>
> On May 23, 2013, at 9:34 AM, Sam Tobin-Hochstadt <<a href="javascript:;" onclick="_e(event, 'cvml', 'samth@ccs.neu.edu')">samth@ccs.neu.edu</a>> wrote:<br>
><br>
> >> 2. Is it possible that we could solve the problem via a bootstrapping-only violation of our policy that you can add types to Racket w/o modifying existing modules?<br>
> ><br>
> > No. We can't specify types inside `racket/base` without making `racket/base` depend on Typed Racket.<br>
><br>
><br>
> 1. I was proposing a fundamental change to the language, with an eye toward Racket 2.<br>
><br>
> 2. I was also proposing an experiment that temporarily creates such a dependency and we can then look for a refactoring that breaks the dependency again but in a way that supports the proper access to these base identifiers.<br>
><br>
> It shouldn't be necessary to specify types inside racket/base; it's only necessary to make the identifiers available somehow. Then TR can do the type specification, but without using namespaces. Protecting the exported identifiers from misuse could be done by convention -- naming them unsafe-<foo> or exporting them from a submodule named "private" -- or by enforcement -- for instance, rather than providing them, instead exporting a phase 1 syntax object that contains them with appropriate syntax taints / dye packs so that they can be used for free-identifier=? but not put into expanded code.<br>
><br>
> --Carl<br>
<br>
<br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</blockquote></div>