> On Dec 12, 2016, at 1:31 PM, Alex Knauth <alexan...@knauth.org> wrote: > > #lang typed/racket > > (define ls (port->list read (open-input-string "1 2 3 4"))) > (for ([n (assert ls (λ ([ls : (Listof Any)]) (andmap number? ls)))]) > (displayln (* n n))) >
I think this suggests that TR should possibly supply typed I/O so that one could write (port->list: number? read some-port) — Matthias -- 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.