[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #485: pretty-print should place keyword and keyword v
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #485: pretty-print should place keyword and keyword value on same line. |
Date: |
Fri, 21 Jan 2011 05:45:41 -0000 |
#485: pretty-print should place keyword and keyword value on same line.
----------------------------+-----------------------------------------------
Reporter: alanpost | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.7.0
Component: core libraries | Version: 4.6.x
Keywords: |
----------------------------+-----------------------------------------------
The following program:
{{{
(use extras)
(set! foo `(foo bar: bar baz: baz qux: qux))
(pretty-print `(,@foo ,@foo ,@foo))
(exit)
}}}
Produces the following output:
{{{
(foo bar:
bar
baz:
baz
qux:
qux
foo
bar:
bar
baz:
baz
qux:
qux
foo
bar:
bar
baz:
baz
qux:
qux)
}}}
I think the output should instead be:
{{{
(foo bar: bar
baz: baz
qux: qux
foo
bar: bar
baz: baz
qux: qux
foo
bar: bar
baz: baz
qux: qux)
}}}
That is, the keyword and it's argument should be on the same line.
This is a stylistic issue, but I hope I'm not the only who thinks pretty-
print would look prettier in the second format.
--
Ticket URL: <http://bugs.call-cc.org/ticket/485>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #485: pretty-print should place keyword and keyword value on same line.,
Chicken Trac <=