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 <jos.k...@gmail.com> wrote:
>
>
>
> 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.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/5d0285e1.1c69fb81.4a5ab.43b8%40mx.google.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAL3TdOOPtQksHALS2B_i2vkrZLSw5TukhL7EnLeU3vvuJMWYVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to