The lack of newlines is probably because of a bug that I pushed a fix
for. Maybe try a shapshot build?

https://pre.racket-lang.org/installers/

Robby

On Wed, Aug 10, 2016 at 7:34 AM, Delphine Demange
<delphine.dema...@gmail.com> wrote:
>
>> Yes, DrRacket's "constructor" mode does this. This code was based on the 
>> teaching languages though, and the teaching languages set 
>> `booleans-as-true/false` to false here:
>> https://github.com/racket/htdp/blob/master/htdp-lib/htdp/bsl/runtime.rkt#L15
>>
>> Neither one is really more "constructor"-y than the other.
>
> I see. Thanks for the clarification.
>
>> 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.
>
> 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 racket-users+unsubscr...@googlegroups.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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to