racket/collects/meta/drdr/tests/loud.rkt
2010-08-26 12:11:00 -04: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))