Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
sorawee committed Mar 28, 2022
1 parent 34ed16e commit 7672e7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

(require racket/string
racket/contract
racket/format
pprint-compact
"common.rkt"
"core.rkt"
Expand Down Expand Up @@ -50,7 +51,7 @@
(define (pretty-format* x
#:width [width (current-width)]
#:formatter-map [formatter-map empty-formatter-map])
(program-format (print x) #:formatter-map formatter-map #:width width))
(program-format (~s x) #:formatter-map formatter-map #:width width))

(define (pretty-print* x
#:width [width (current-width)]
Expand Down

0 comments on commit 7672e7a

Please sign in to comment.