racket/collects/2htdp/private/utilities.rkt
Eli Barzilay 5aca765989 racket' -> racket/base' switches in htdp' and 2htdp'.
All of these look safe.  Also, see comment in `2htdp/batch-io' about the
splitting thing (which should probably be revised with the extensions to
`racket/string').
2012-11-06 13:29:09 -05:00

14 lines
188 B
Racket

#lang racket/base
(require racket/contract)
(provide/contract
;; like the unix debugging facility
[tee (-> symbol? any/c any)]
)
(define (tee tag x)
(printf "~a ~s\n" tag x)
x)