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
Hi
Is it possible to instruct DrRacket to display non-integer exact rationals with
a slash in stead of a horizontal line?
If so, how? I tried current-print and the like, but without success.
Jos
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group
3 matches
Mail list logo