Re: [racket-users] SOLVED BUT needs documentation change: printing structures in typed Racket

2020-05-15 Thread Sam Tobin-Hochstadt
I've updated the docs. On Fri, May 15, 2020 at 10:33 AM Hendrik Boom wrote: > > On Fri, May 15, 2020 at 10:07:31AM -0400, Sam Tobin-Hochstadt wrote: > > Generics are not supported yet; you need to use structure type > > properties, like this: > > > > #lang typed/racket/base > > > > (: parameter-p

[racket-users] SOLVED BUT needs documentation change: printing structures in typed Racket

2020-05-15 Thread Hendrik Boom
On Fri, May 15, 2020 at 10:07:31AM -0400, Sam Tobin-Hochstadt wrote: > Generics are not supported yet; you need to use structure type > properties, like this: > > #lang typed/racket/base > > (: parameter-print : Any Output-Port Any -> Any) > (define (parameter-print v p b) (fprintf p "hi\n")) >