@@ -2,7 +2,7 @@
22
33Pretty-printing engine
44
5−Pretty-printing engine that accepts a [`++tank`](/doc/hoon/library/1#++tank) [sample]() and contains arms that perform computation on it.
5+Pretty-printing engine that accepts a `++tank` sample and contains arms that perform computation on it.
66
77Accepts
88-------
@@ -13,24 +13,24 @@ Produces
1313--------
1414
1515 ++ re
16− |_ tac=tank
16+ |_ tac/tank
1717
1818Examples
1919--------
2020
21− /~zod/try=> ~(. re leaf/"ham")
22− <2.ghl [[%leaf ""] <414.gly 100.xkc 1.ypj %164>]>
21+ /~zod/try=> ~(. re leaf+"ham")
22+ <2.gdc {tac/{$leaf ""} <402.arm 110.jyx 1.ztu $151>}>
2323
2424### `++ram`
2525
2626Flatten to tape
2727
28−Flatten [`++tank`]() out into a [`++tape`]().
28+Flatten `++tank` out into a `++tape`.
2929
3030Accepts
3131-------
3232
33−`tac` is a `++tank`, taken from [sample]() of `++re` [core]().
33+`tac` is a `++tank`, taken from sample of `++re` core.
3434
3535Produces
3636--------
@@ -43,9 +43,9 @@ Source
4343 ++ ram
4444 ^- tape
4545 ?- -.tac
46− %leaf p.tac
47− %palm ram(tac [%rose [p.p.tac (weld q.p.tac r.p.tac) s.p.tac] q.tac])
48− %rose
46+ $leaf p.tac
47+ $palm ram(tac [%rose [p.p.tac (weld q.p.tac r.p.tac) s.p.tac] q.tac])
48+ $rose
4949 %+ weld
5050 q.p.tac
5151 |- ^- tape
@@ -59,9 +59,9 @@ Source
5959Examples
6060--------
6161
62− /~zod/try=> ~(ram re leaf/"foo")
62+ /~zod/try=> ~(ram re leaf+"foo")
6363 "foo"
64− /~zod/try=> ~(ram re rose/["." "(" ")"]^~[leaf/"bar" leaf/"baz" leaf/"bam"])
64+ /~zod/try=> ~(ram re rose+["." "(" ")"]^~[leaf+"bar" leaf+"baz" leaf+"bam"])
6565 "(bar.baz.bam)"
6666
6767### `++win`
@@ -73,25 +73,25 @@ Render at indent level `tab` and width `edg`.
7373Accepts
7474-------
7575
76−`tac` is a `++tank`, taken from [sample]() of `++re` [core]().
76+`tac` is a `++tank`, taken from sample of `++re` core.
7777
7878`tab` and `edg` are atoms.
7979
8080Produces
8181--------
8282
83−A [`++wall`]() ([`++list`]() of [`++tapes`]()).
83+A `++wall` (`++list` of `++tapes`).
8484
8585Source
8686------
8787
8888 ++ win
89− |= [tab=@ edg=@]
89+ |= {tab/@ edg/@}
9090 =+ lug=`wall`~
9191 |^ |- ^- wall
9292 ?- -.tac
93− %leaf (rig p.tac)
94− %palm
93+ $leaf (rig p.tac)
94+ $palm
9595 ?: fit
9696 (rig ram)
9797 ?~ q.tac
@@ -111,30 +111,17 @@ Source
111111 ==
112112 (wig(lug qyr) q.p.tac)
113113 ::
114− %rose
115− ?: fit
116− (rig ram)
117− =+ ^= gyl
118− |- ^- wall
119− ?~ q.tac
120− ?:(=(%$ r.p.tac) lug (rig r.p.tac))
121− ^$(tac i.q.tac, lug $(q.tac t.q.tac), tab din)
122− ?: =(%$ q.p.tac)
123− gyl
124− (wig(lug gyl) q.p.tac)
125− ==
126− ::
127114
128115Examples
129116--------
130117
131− /~zod/try=> (~(win re leaf/"samoltekon-lapdok") 0 20)
118+ /~zod/try=> (~(win re leaf+"samoltekon-lapdok") 0 20)
132119 <<"samoltekon-lapdok">>
133− /~zod/try=> (~(win re leaf/"samoltekon-lapdok") 0 10)
120+ /~zod/try=> (~(win re leaf+"samoltekon-lapdok") 0 10)
134121 <<"\/samolt\/" " ekon-l" " apdok" "\/ \/">>
135− /~zod/try=> (~(win re rose/["--" "[" "]"]^~[leaf/"1423" leaf/"2316"]) 0 20)
122+ /~zod/try=> (~(win re rose+["--" "[" "]"]^~[leaf+"1423" leaf+"2316"]) 0 20)
136123 <<"[1423--2316]">>
137− /~zod/try=> (~(win re rose/["--" "[" "]"]^~[leaf/"1423" leaf/"2316"]) 0 10)
124+ /~zod/try=> (~(win re rose+["--" "[" "]"]^~[leaf+"1423" leaf+"2316"]) 0 10)
138125 <<"[ 1423" " 2316" "]">>
139126
140127### `++din`
@@ -185,28 +172,28 @@ Examples
185172
186173Wrap in `\/`
187174
188−Wrap [`++tape`]() in `\/` if it doesn't fit at current indentation. Internal to
189−[`++win`]()
175+Wrap `++tape` in `\/` if it doesn't fit at current indentation. Internal to
176+`++win`
190177
191178Accepts
192179-------
193180
194−`tac` is a `++tank`, taken from [sample]() of `++re` [core]().
181+`tac` is a `++tank`, taken from sample of `++re` core.
195182
196183`hom` is a `++tape`.
197184
198185Produces
199186--------
200187
201−A [`++wall`]() (list of `++tape`s).
188+A `++wall` (list of `++tape`s).
202189
203190Source
204191------
205192
206193 ++ rig
207− |= hom=tape
194+ |= hom/tape
208195 ^- wall
209− ?: (lte (lent hom) (sub edg tab))
196+ ?: & ::(lte (lent hom) (sub edg tab))
210197 [(runt [tab ' '] hom) lug]
211198 => .(tab (add tab 2), edg (sub edg 2))
212199 =+ mut=(trim (sub edg tab) hom)
@@ -229,12 +216,12 @@ Examples
229216
230217`++win` render tape
231218
232−Render [`++tape`](). Internal to [`++win`]().
219+Render `++tape`. Internal to `++win`.
233220
234221Accepts
235222-------
236223
237−`tac` is a `++tank`, taken from [sample]() of `++re` [core]().
224+`tac` is a `++tank`, taken from sample of `++re` core.
238225
239226`hom` is a `++tape`.
240227
@@ -242,7 +229,7 @@ Produces
242229--------
243230
244231 ++ wig
245− |= hom=tape
232+ |= hom/tape
246233 ^- wall
247234 ?~ lug
248235 (rig hom)
@@ -259,4 +246,5 @@ Produces
259246
260247
261248
249+
262250***