Unfortunately, I don't think there's an easy way to fix this in 6.1.1.
That program works in current snapshots, so you might try that.
Alternatively, you could put the namespace anchor in an untyped
module, although that can be inconvenient for namespace anchors in
particular.

Sam

On Sat, Apr 18, 2015 at 8:24 AM, Matthew Butterick <m...@mbtype.com> wrote:
> How would I clear this typecheck error under 6.1.1?
>
> This code:
>
> #lang typed/racket
> (define-namespace-anchor nsa)
>
> Produces this error:
>
> Type Checker: missing type for identifier;
>  consider using `require/typed' to import it
>   identifier: make-namespace-anchor
>   from module: namespace.rkt in: #%module-begin
>
>
> The problem is that `make-namespace-anchor` is not an identifier provided by 
> "namespace.rkt", so there's no way to add a type using `require/typed`.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to