> On Aug 10, 2016, at 7:34 AM, Delphine Demange <[email protected]> > wrote:
>> The `constructor-style-print` function isn't supposed to add a newline. > > Okay, I got confused because in DrRacket, running > > ---------- > #lang constructor-style-print racket > true > false > (cdr (list 1 2 3)) > ---------- > > was resulting in > ---------- > #t#f(list 2 3) > ---------- > (no whitespace, no newline) in the interaction window. But here again, maybe > the initial use case was not including this kind of program either. > > From the racket REPL, which is what I really need, it does behaves correctly > without the call to pretty-write. Oh, that's really weird... And not just on the repl, running `racket test-constructor-style-print.rkt` with that text also prints newlines. I guess DrRacket is doing something weird now, that it wasn't doing before. In 6.0, it prints the newlines properly, but in 6.6.0.2 it works on the command-line but not in DrRacket. Did DrRacket change it's behavior recently? Alex Knauth > Thanks for the feedback, Alex. > > Delphine -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

