Package pprint.plt contributed by dherman [docs]
To load: (require (planet dherman/pprint:3:1/pprint))
Old style:(require (planet "pprint.ss" ("dherman" "pprint.plt" 3 1)))
Package description:
A pretty-printing library.
Downloads this week: 0
Total downloads: 2299
Tickets:3
Open tickets:0
Primary files:
NameContract
pretty-print
(opt-> (doc?) (output-port? natural-number/c) any)
pretty-format
(opt-> (doc?) (natural-number/c) string?)
pretty-markup
(opt-> (doc? (-> any/c any/c any)) (natural-number/c) any)
current-page-width
parameter?
doc?
(-> any/c boolean?)
string->doc
(-> string? doc?)
value->doc
(-> any/c doc?)
empty
doc?
char
(-> char? doc?)
text
(-> string? doc?)
nest
(-> natural-number/c doc? doc?)
label
(-> string? doc? doc?)
markup
(-> procedure? doc? doc?)
group
(-> doc? doc?)
line
doc?
break
doc?
soft-line
doc?
soft-break
doc?
align
(-> doc? doc?)
hang
(-> natural-number/c doc? doc?)
indent
(-> natural-number/c doc? doc?)
h-append
(->* () (listof doc?) (doc?))
hs-append
(->* () (listof doc?) (doc?))
vs-append
(->* () (listof doc?) (doc?))
vsb-append
(->* () (listof doc?) (doc?))
v-append
(->* () (listof doc?) (doc?))
vb-append
(->* () (listof doc?) (doc?))
v-concat/s
(-> (listof doc?) doc?)
vs-concat
(-> (listof doc?) doc?)
hs-concat
(-> (listof doc?) doc?)
v-concat
(-> (listof doc?) doc?)
vb-concat/s
(-> (listof doc?) doc?)
vsb-concat
(-> (listof doc?) doc?)
h-concat
(-> (listof doc?) doc?)
vb-concat
(-> (listof doc?) doc?)
apply-infix
(-> doc? (listof doc?) (listof doc?))
fill
(-> natural-number/c doc? doc?)
fill/break
(-> natural-number/c doc? doc?)
lparen
doc?
rparen
doc?
lbrace
doc?
rbrace
doc?
lbracket
doc?
rbracket
doc?
langle
doc?
rangle
doc?
squote
doc?
dquote
doc?
semi
doc?
colon
doc?
comma
doc?
space
doc?
dot
doc?
backslash
doc?
equals
doc?
ellipsis
doc?
 Current version
PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(3 1)2
35
[none]2008-09-02
To load: (require (planet dherman/pprint:3:1/pprint))
Available in repositories: 4.x, 3xx

Finally fixed the algorithm. This library should actually be usable now!

No Tickets Currently open for this Package [New Ticket]

 Old versions
PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(3 0)2
135
[none]2007-04-01
To load: (require (planet "pprint.ss" ("dherman" "pprint.plt" 3 (= 0))))
Available in repositories: 3xx, 4.x
[no release notes]
(2 1)2
189
[none]2007-04-01
To load: (require (planet "pprint.ss" ("dherman" "pprint.plt" 2 (= 1))))
Available in repositories: 4.x, 3xx
[no release notes]
(2 0)1
3
[none]2007-04-01
To load: (require (planet "pprint.ss" ("dherman" "pprint.plt" 2 (= 0))))
Available in repositories: 4.x, 3xx
[no release notes]
(1 0)1
358
[none]2007-04-01
To load: (require (planet "pprint.ss" ("dherman" "pprint.plt" 1 (= 0))))
Available in repositories: 4.x, 3xx
[no release notes]
 Packages in other repositories

These packages are not available in the 3xx repository, but they are available for other versions of Racket.

PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(4 4)2
1550
4.02008-09-28
To load: (require (planet "main.ss" ("dherman" "pprint.plt" 4 (= 4))))
Available in repositories: 4.x
  • Page width may now also be #f, indicating unbounded page width.
  • Made the contract of current-page-width more precise.
(4 3)2
19
4.02008-09-08
To load: (require (planet "main.ss" ("dherman" "pprint.plt" 4 (= 3))))
Available in repositories: 4.x

Added declare-exporting clauses to scribble docs.

(4 2)2
5
4.02008-09-03
To load: (require (planet "main.ss" ("dherman" "pprint.plt" 4 (= 2))))
Available in repositories: 4.x

Removed dead idioms.ss file, which was causing a compiler error.

(4 1)2
2
4.02008-09-03
To load: (require (planet "main.ss" ("dherman" "pprint.plt" 4 (= 1))))
Available in repositories: 4.x

Updated SchemeUnit tests for PLT v4.x to fix a compiler error.

(4 0)2
3
4.02008-09-03
To load: (require (planet "main.ss" ("dherman" "pprint.plt" 4 (= 0))))
Available in repositories: 4.x

Initial release for PLT v4.x.