It was just random. I'd installed it previously & lost track of how long it 
had been.

On Wednesday, February 27, 2019 at 7:44:24 PM UTC-8, Sam Tobin-Hochstadt 
wrote:
>
> Brian, 
> Since this has turned out to be relevant for other reasons, can you 
> say how you ended up using version 6.0? Was it automatically available 
> to you somewhere, or did you install it? 
>
> Sam 
>
> On Mon, Feb 25, 2019 at 1:46 PM Brian Craft <[email protected] 
> <javascript:>> wrote: 
> > 
> > yeah, maybe version. Has this changed since 6.0? 
> > 
> > On Monday, February 25, 2019 at 10:39:23 AM UTC-8, johnbclements wrote: 
> >> 
> >> When I paste that code into a file called `foo`, it runs fine. 
> Transcript: 
> >> 
> >> hardy:/tmp clements> cat foo 
> >> #lang typed/racket 
> >> (require typed/racket/base) 
> >> 
> >> (: fn (-> String Symbol)) 
> >> (define (fn str) 'foo) 
> >> hardy:/tmp clements> racket foo 
> >> hardy:/tmp clements> 
> >> 
> >> I can’t honestly guess what the problem is. Wrong version of racket? 
> >> 
> >> John 
> >> 
> >> 
> >> > On Feb 25, 2019, at 10:11 AM, Brian Craft <[email protected]> 
> wrote: 
> >> > 
> >> > Doing a cut & paste from the typed racket docs, I'm getting a compile 
> error. Input file: 
> >> > 
> >> > #lang typed/racket 
> >> > (require typed/racket/base) 
> >> > 
> >> > (: fn (-> String Symbol)) 
> >> > (define (fn str) 'foo) 
> >> > 
> >> > 
> >> > 'fn' taken from this page: 
> >> > 
> >> > 
> https://docs.racket-lang.org/ts-guide/more.html#%28part._when-annotations~3f%29
>  
> >> > 
> >> > 
> >> > Running with 'racket foo', gives me 
> >> > Type Checker: ->: bad syntax 
> >> >   in: (-> String Symbol) 
> >> > 
> >> > 
> >> > What am I doing wrong? 
> >> > 
> >> > 
> >> > -- 
> >> > 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 [email protected]. 
> >> > 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 [email protected] <javascript:>. 
> > 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to