RE: [racket-users] exact rationals in interactions window

2019-06-14 Thread Jos Koot
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

Re: [racket-users] exact rationals in interactions window

2019-06-13 Thread Robby Findler
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

[racket-users] exact rationals in interactions window

2019-06-13 Thread Jos Koot
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