On Fri, Apr 19, 2019 at 10:16 AM Lassi Kortela <xxxxxx@lassi.io> wrote:
 
I think it would make sense if the printer used underscores too. But
that should probably opt-in rather than opt-out, so that existing
programs print using standard Scheme syntax by default. What do you
think?

Yes, for easy interchange between Schemes with and without _.
Similarly, R7RS systems are allowed to accept #true and #false
as alternatives, but essentially all of them still print #t and #f.
 
BTW what's the usual way to give settings to the printer in
Scheme - is it done using 'parameterize'?

No, there are no settings (except for the three entry points
write, write-simple, and write-shared in R7RS).  In SRFI 159,
which is already part of R7RS-large, there is a formatter that
can insert any chosen character every N digits.  The forthcoming
SRFI 166 is meant to be a replacement and will be voted on
in a future R7RS ballot: it adds the ability to insert characters
in variable places, as required in India.


John Cowan          http://vrici.lojban.org/~cowan        xxxxxx@ccil.org
But no living man am I!  You look upon a woman.  Eowyn I am, Eomund's daughter.
You stand between me and my lord and kin.  Begone, if you be not deathless.
For living or dark undead, I will smite you if you touch him.