Got it. Should be able to make progress from here. <div><br></div><div>Thanks<br><br><div class="gmail_quote">On Sat, Oct 27, 2012 at 8:26 PM, Sam Tobin-Hochstadt <span dir="ltr"><<a href="mailto:samth@ccs.neu.edu" target="_blank">samth@ccs.neu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, Oct 27, 2012 at 4:53 PM, Ray Racine <<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>> wrote:<br>
> Nevermind the nevermind.<br>
><br>
> I can't seem to get (quote-module-path) into Typed Racket and obtaining the<br>
> module path for use in the Racket Places API is core. The problem is<br>
> quote-module-path is syntax and the closed over procedure module-path-fixup<br>
> is protected on export.<br>
<br>
</div>Right, this is a problem in a number of places.<br>
<div class="im"><br>
> I did find some special handling of this issue in<br>
> typed-racket/typecheck/tc-app/tc-app-special.rkt but the machinery is beyond<br>
> me.<br>
<br>
</div>This isn't the place where the solution goes. Instead, you want to add<br>
a type for `module-path-fixup` in<br>
`typed-racket/base-env/base-special-env.rkt`, which has a number of<br>
other examples of exactly this issue.<br>
<div class="im"><br>
> Ray<br>
><br>
> On Sat, Oct 27, 2012 at 6:35 PM, Ray Racine <<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>> wrote:<br>
>><br>
>> Oh boy. Nevermind. Never occurred to me to ... I donno just (require<br>
>> syntax/location). sigh<br>
>><br>
>><br>
>> On Sat, Oct 27, 2012 at 6:25 PM, Ray Racine <<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>> wrote:<br>
>>><br>
>>> Trying to use quote-module-path in TR. Minimum need is its no arg<br>
>>> version, e.g. (quote-module-path). The below is giving me a syntax error<br>
>>> however.<br>
>>><br>
>>> Thanks in advance.<br>
>>><br>
>>> Ray<br>
>>><br>
>>> #lang typed/racket<br>
>>><br>
>>> (require/typed syntax/location<br>
>>> [quote-module-path (-> Module-Path)])<br>
>><br>
>><br>
><br>
><br>
</div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
sam th<br>
<a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a><br>
</font></span></blockquote></div><br></div>