racket/collects/meta/drdr/tests/loud.rkt
2010-05-10 11:41:20 -06:00

12 lines
228 B
Racket

#lang racket
(define n (command-line #:args (n) (string->number n)))
(for ([i (in-range n)])
(fprintf (if (even? i)
(current-error-port)
(current-output-port))
"~a~n"
i))