Clojure

GC Issue 16: Pretty printing

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.2
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

Reported by richhickey, Dec 17, 2008
A rudimentary pprint
Some efforts have been posted to group, no consensus yet

Activity

Hide
Assembla Importer added a comment -

richhickey said: Should now be - move pprint to clojure.jar

Show
Assembla Importer added a comment - richhickey said: Should now be - move pprint to clojure.jar
Hide
Assembla Importer added a comment -

richhickey said: Updating tickets (#8, #42, #113, #2, #20, #94, #96, #104, #119, #124, #127, #149, #162)

Show
Assembla Importer added a comment - richhickey said: Updating tickets (#8, #42, #113, #2, #20, #94, #96, #104, #119, #124, #127, #149, #162)
Hide
Assembla Importer added a comment -

tomfaulhaber said: We'll address this by moving the version of pprint from contrib into clojure for 1.2.

The plan is:

1. Remove the gen-class requirement from pprint (see ticket 81 in clojure)

2. Create a branch of clojure that includes:

  • The clojure.contrib.pprint tree less the examples directory (I'll put these in their own github project for the moment).
  • A new doc directory for the supporting docs that get picked up by autodoc (this is broken right now, but I'm about to fix it).
  • tests moved from contrib to clojure tests

3. Create a patch that matches my branch. Add it to the ticket.

4. Commit the patch once it's reviewed

5. Update contrib to point back to clojure with the appropriate deprecation warnings.

Show
Assembla Importer added a comment - tomfaulhaber said: We'll address this by moving the version of pprint from contrib into clojure for 1.2. The plan is: 1. Remove the gen-class requirement from pprint (see ticket 81 in clojure) 2. Create a branch of clojure that includes:
  • The clojure.contrib.pprint tree less the examples directory (I'll put these in their own github project for the moment).
  • A new doc directory for the supporting docs that get picked up by autodoc (this is broken right now, but I'm about to fix it).
  • tests moved from contrib to clojure tests
3. Create a patch that matches my branch. Add it to the ticket. 4. Commit the patch once it's reviewed 5. Update contrib to point back to clojure with the appropriate deprecation warnings.
Hide
Assembla Importer added a comment -

tomfaulhaber said: [file:aPTaMOvS8r36QjeJe5cbCb]: The patch that add clojure.pprint

Show
Assembla Importer added a comment - tomfaulhaber said: [file:aPTaMOvS8r36QjeJe5cbCb]: The patch that add clojure.pprint
Hide
Assembla Importer added a comment -

tomfaulhaber said: [file:aXqnnYvS8r3630eJe5cbLA]: The patch that adds clojure.pprint

Show
Assembla Importer added a comment - tomfaulhaber said: [file:aXqnnYvS8r3630eJe5cbLA]: The patch that adds clojure.pprint
Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - stu said: [file:dtjKrQvVCr36mfeJe5cbLr]
Hide
Assembla Importer added a comment -

stu said: The following vars are the doc'ed, public API. These are the same as contrib, minus earmuffs on code-dispatch and simple-dispatch.

*print-base*
*print-miser-width*
*print-pprint-dispatch*
*print-pretty*
*print-radix*
*print-right-margin*
*print-suppress-namespaces*
cl-format
code-dispatch
formatter
formatter-out
fresh-line
get-pretty-writer
pp
pprint
pprint-indent
pprint-logical-block
pprint-newline
pprint-tab
set-pprint-dispatch
simple-dispatch
with-pprint-dispatch
write
write-out
Show
Assembla Importer added a comment - stu said: The following vars are the doc'ed, public API. These are the same as contrib, minus earmuffs on code-dispatch and simple-dispatch.
*print-base*
*print-miser-width*
*print-pprint-dispatch*
*print-pretty*
*print-radix*
*print-right-margin*
*print-suppress-namespaces*
cl-format
code-dispatch
formatter
formatter-out
fresh-line
get-pretty-writer
pp
pprint
pprint-indent
pprint-logical-block
pprint-newline
pprint-tab
set-pprint-dispatch
simple-dispatch
with-pprint-dispatch
write
write-out
Hide
Assembla Importer added a comment -

stu said: Tom's patch looks good. My patch simply adds a test for :added metadata.

Don't forget: We'll need a separate code change to refer some vars at the repl.

Show
Assembla Importer added a comment - stu said: Tom's patch looks good. My patch simply adds a test for :added metadata. Don't forget: We'll need a separate code change to refer some vars at the repl.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: