Re: [Chicken-users] pp and write ignore keyword-style

2018-11-21 Thread Marc Feeley
> On Nov 21, 2018, at 11:05 AM, John Cowan wrote: > > Each of the :foo and foo: styles are supported by most of the 9, whereas the > SRFI-88 style was supported by only 4. See > https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/KeywordSyntax.md for > details > For your information,

Re: [Chicken-users] pp and write ignore keyword-style

2018-11-21 Thread John Cowan
On Wed, Nov 21, 2018 at 1:35 AM Sven Hartrumpf wrote: But my argument is about interoperability between implementations, e.g. > reading with Scheme implementation A code written by Scheme implementation > B. > I fear that is a lost cause. Of 22 Schemes that I tested, only 8 support keywords at

Re: [Chicken-users] pp and write ignore keyword-style

2018-11-20 Thread Sven Hartrumpf
John Cowan wrote on 2018-11-20 16:56: > IMO, `write` should not respect `keyword-style` but use the invariant > syntax `#:foo` for keywords, as that always works, whereas `foo:` > and `:foo` don't. The whole point of `write` is that you can reread > the output with `read` and get something that

Re: [Chicken-users] pp and write ignore keyword-style

2018-11-20 Thread Evan Hanson
Hi Sven, On 2018-11-20 22:51, Sven Hartrumpf wrote: > pp and write (in chicken 5) do not respect the parameter (keyword-style); > Only display respects keyword-style. This behaviour is intentional, for the reasons John describes. Refer to ticket #1332 for specifics about the change:

[Chicken-users] pp and write ignore keyword-style

2018-11-20 Thread Sven Hartrumpf
Hi. pp and write (in chicken 5) do not respect the parameter (keyword-style); Only display respects keyword-style. #;1> (import (chicken pretty-print)) ; loading /usr/local/chicken-5.0.0-x32/lib/chicken/9/chicken.pretty-print.import.so ... #;2> (keyword-style) #:suffix #;3> (write '(arg1: 1))