Summary
pretty-print should place keyword and keyword value on same line.
Metadata
- Id: 667356d8739cf11c90f8951c0e8194f652587e72
- Trac id: 485
- Type: enhancement
- Reporter: alanpost
- Owner:
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty:
- Resolution: wontfix
- Priority: minor
- Milestone:
- Version: 4.6.x
- Changetime: 2011-06-18 20:26:12 UTC
- Created: 2011-01-21 06:45:41 UTC
- Keywords:
Description
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.
Changes and comments
[2011-02-05 15:35:54 UTC] sjamaan removed milestone 4.7.0
[2011-06-18 20:26:12 UTC] felix changed status from new to closed
[2011-06-18 20:26:12 UTC] felix set resolution to wontfix
[2011-06-18 20:26:12 UTC] felix wrote:
See the comment I added to #489. The same applies here.