Yes, the intermediate output-string does the job. Thanks.
Stupid me, not thinking of that by myself.
Jos
From: Robby Findler
Sent: 13 June 2019 21:32
To: Jos Koot
Cc: Racket Users
Subject: Re: [racket-users] exact rationals in interactions window
Does this help?
(let ([cp (current-print
Does this help?
(let ([cp (current-print)])
(current-print
(λ (x)
(define sp (open-output-string))
(parameterize ([current-output-port sp])
(cp x))
(display (get-output-string sp)
On Thu, Jun 13, 2019 at 12:20 PM Jos Koot wrote:
>
>
>
> Hi
>
>
>
> Is it possible to
2 matches
Mail list logo