No, that's not correct. This program works fine:

#lang typed/racket/base
(require/typed racket/function [identity (All (A) (-> A A))])
(identity 5)

Can you say more about what part of the documentation gave you that
impression, so we can correct that?

Sam

On Fri, Jul 3, 2015 at 1:59 AM, Jordan Johnson <j...@fellowhuman.com> wrote:
> Hi all,
>
> If I’m reading the docs & source correctly, it looks like it’s impossible to
> use require/typed to attach a parametric type to an import. Is that right?
>
> I’m also a bit curious if that’s because adding that capability is a
> difficult or impossible proposition.
>
> Cheers,
> jmj
>
> --
> 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