on master help sign in
dt runes; correct prompt in lib
62bdfabHenry Ault
docs/system/hoon/library/$.mdnew file+173
@@ -0,0 +1,173 @@
1+# 5f: molds and mold builders
2+### `++mane`
3+
4+XML name
5+
6+An XML name (tag name or attribute name) with an optional namespace. Parsed by
7+`++name` within `++poxa`, rendered by `++name` within `++poxo`.
8+
9+Source
10+------
11+
12+ ++ mane $@(@tas [@tas @tas]) :: XML name/space
13+
14+Examples
15+--------
16+
17+See also: `++sail`
18+
19+ > *mane
20+ %$
21+
22+ > `mane`n.g:`manx`;div:namespace;
23+ %div
24+ > `mane`n.g:`manx`;div_namespace;
25+ [%div %namespace]
26+
27+
28+
29+***
30+### `++manx`
31+
32+XML node.
33+
34+Parsed by `++apex` within `++poxa`, rendered by `++poxo`.
35+
36+Source
37+------
38+
39+ ++ manx {g/marx c/marl} :: XML node
40+
41+Examples
42+--------
43+
44+See also: `++sail` doc
45+
46+
47+
48+***
49+### `++marl`
50+
51+List of XML nodes
52+
53+A list of [`++manx`]().
54+
55+Source
56+------
57+
58+ ++ marl (list manx) :: XML node list
59+
60+Examples
61+--------
62+
63+
64+
65+
66+***
67+### `++mars`
68+
69+XML CDATA
70+
71+Implicitly produced by `++chrd` within `++poxa`
72+
73+Source
74+------
75+
76+ ++ mars {t/{n/$$ a/{i/{n/$$ v/tape} t/$~}} c/$~} :: XML cdata
77+
78+
79+Examples
80+--------
81+
82+
83+
84+***
85+### `++mart`
86+
87+List of XML attributes
88+
89+Each `++mart` is a list of pairs of `++mane` and
90+`++tape`.
91+
92+Parsed by `++attr` within `++poxa`, rendered by `++attr` within `++poxo`
93+
94+Source
95+------
96+
97+ ++ mart (list {n/mane v/tape}) :: XML attributes
98+
99+Examples
100+--------
101+
102+
103+
104+***
105+### `++marx`
106+
107+XML tag
108+
109+A `++marx` is a pair of a tag name, `++mane` and a list of attributes,
110+`++mart`. Parsed by `++head` `++poxa`, rendered within `++poxo`.
111+
112+Source
113+------
114+
115+ ++ marx {n/mane a/mart} :: XML tag
116+
117+Examples
118+--------
119+
120+
121+
122+***
123+### `++pass`
124+
125+Atom alias
126+
127+Used primarily in crypto.
128+
129+Source
130+------
131+
132+ ++ pass @ :: public key
133+
134+
135+
136+***
137+### `++ring`
138+
139+Atom alias
140+
141+Used primarily in crypto.
142+
143+Source
144+------
145+
146+ ++ ring @ :: private key
147+
148+
149+
150+***
151+### `++time`
152+
153+Absolute date
154+
155+The `@da` odor designates an absolute date atom.
156+
157+Source
158+------
159+
160+ ++ time @da :: galactic time
161+
162+Examples
163+--------
164+
165+See also: `++date`, odor reference
166+
167+
168+ > `time`~2014.1.1
169+ ~2014.1.1
170+
171+
172+
173+***
docs/system/hoon/library/1a.md+35−35
@@ -30,11 +30,11 @@ Source
30Examples
30Examples
31--------
31--------
32
32
33− ~zod/try=> (add 2 2)
33+ > (add 2 2)
34 4
34 4
35− ~zod/try=> (add 1 1.000.000)
35+ > (add 1 1.000.000)
36 1.000.001
36 1.000.001
37− ~zod/try=> (add 1.333 (mul 2 2))
37+ > (add 1.333 (mul 2 2))
38 1.337
38 1.337
39
39
40***
40***
@@ -70,9 +70,9 @@ Source
70Examples
70Examples
71--------
71--------
72
72
73− ~zod/try=> (dec 7)
73+ > (dec 7)
74 6
74 6
75− ~zod/try=> (dec 0)
75+ > (dec 0)
76 ! decrement-underflow
76 ! decrement-underflow
77 ! exit
77 ! exit
78
78
@@ -115,11 +115,11 @@ Source
115Examples
115Examples
116--------
116--------
117
117
118− ~zod/try=> (div 4 2)
118+ > (div 4 2)
119 2
119 2
120− ~zod/try=> (div 17 8)
120+ > (div 17 8)
121 2
121 2
122− ~zod/try=> (div 20 30)
122+ > (div 20 30)
123 0
123 0
124
124
125
125
@@ -155,11 +155,11 @@ Source
155Examples
155Examples
156--------
156--------
157
157
158− ~zod/try=> (gte 100 10)
158+ > (gte 100 10)
159 %.y
159 %.y
160− ~zod/try=> (gte 4 4)
160+ > (gte 4 4)
161 %.y
161 %.y
162− ~zod/try=> (gte 3 4)
162+ > (gte 3 4)
163 %.n
163 %.n
164
164
165
165
@@ -197,9 +197,9 @@ Source
197Examples
197Examples
198--------
198--------
199
199
200− ~zod/try=> (gth 'd' 'c')
200+ > (gth 'd' 'c')
201 %.y
201 %.y
202− ~zod/try=> (gth ~h1 ~m61)
202+ > (gth ~h1 ~m61)
203 %.n
203 %.n
204
204
205
205
@@ -236,13 +236,13 @@ Source
236Examples
236Examples
237--------
237--------
238
238
239− ~zod/try=> (lte 4 5)
239+ > (lte 4 5)
240 %.y
240 %.y
241− ~zod/try=> (lte 5 4)
241+ > (lte 5 4)
242 %.n
242 %.n
243− ~zod/try=> (lte 5 5)
243+ > (lte 5 5)
244 %.y
244 %.y
245− ~zod/try=> (lte 0 0)
245+ > (lte 0 0)
246 %.y
246 %.y
247
247
248
248
@@ -283,13 +283,13 @@ Source
283Examples
283Examples
284--------
284--------
285
285
286− ~zod/try=> (lth 4 5)
286+ > (lth 4 5)
287 %.y
287 %.y
288− ~zod/try=> (lth 5 4)
288+ > (lth 5 4)
289 %.n
289 %.n
290− ~zod/try=> (lth 5 5)
290+ > (lth 5 5)
291 %.n
291 %.n
292− ~zod/try=> (lth 5 0)
292+ > (lth 5 0)
293 %.n
293 %.n
294
294
295
295
@@ -325,11 +325,11 @@ Source
325Examples
325Examples
326--------
326--------
327
327
328− ~zod/try=> (max 10 100)
328+ > (max 10 100)
329 100
329 100
330− ~zod/try=> (max 10.443 9)
330+ > (max 10.443 9)
331 10.443
331 10.443
332− ~zod/try=> (max 0 1)
332+ > (max 0 1)
333 1
333 1
334
334
335
335
@@ -366,11 +366,11 @@ Source
366Examples
366Examples
367--------
367--------
368
368
369− ~zod/try=> (min 10 100)
369+ > (min 10 100)
370 10
370 10
371− ~zod/try=> (min 10.443 9)
371+ > (min 10.443 9)
372 9
372 9
373− ~zod/try=> (min 0 1)
373+ > (min 0 1)
374 0
374 0
375
375
376
376
@@ -408,9 +408,9 @@ Source
408Examples
408Examples
409--------
409--------
410
410
411− ~zod/try=> (mod 5 2)
411+ > (mod 5 2)
412 1
412 1
413− ~zod/try=> (mod 5 5)
413+ > (mod 5 5)
414 0
414 0
415
415
416
416
@@ -449,9 +449,9 @@ Source
449Examples
449Examples
450--------
450--------
451
451
452− ~zod/try=> (mul 3 4)
452+ > (mul 3 4)
453 12
453 12
454− ~zod/try=> (mul 0 1)
454+ > (mul 0 1)
455 0
455 0
456
456
457
457
@@ -489,13 +489,13 @@ Source
489Examples
489Examples
490--------
490--------
491
491
492− ~zod/try=> (sub 10 5)
492+ > (sub 10 5)
493 5
493 5
494− ~zod/try=> (sub 243 44)
494+ > (sub 243 44)
495 199
495 199
496− ~zod/try=> (sub 5 0)
496+ > (sub 5 0)
497 5
497 5
498− ~zod/try=> (sub 0 5)
498+ > (sub 0 5)
499 ! subtract-underflow
499 ! subtract-underflow
500 ! exit
500 ! exit
501
501
docs/system/hoon/library/1b.md+12−12
@@ -35,11 +35,11 @@ Source
35Examples
35Examples
36--------
36--------
37
37
38− ~zod/try=> (cap 4)
38+ > (cap 4)
39 %2
39 %2
40− ~zod/try=> (cap 6)
40+ > (cap 6)
41 %3
41 %3
42− ~zod/try=> (cap (add 10 9))
42+ > (cap (add 10 9))
43 %2
43 %2
44
44
45
45
@@ -79,17 +79,17 @@ Source
79Examples
79Examples
80--------
80--------
81
81
82− ~zod/try=> (mas 3)
82+ > (mas 3)
83 1
83 1
84− ~zod/try=> (mas 4)
84+ > (mas 4)
85 2
85 2
86− ~zod/try=> (mas 5)
86+ > (mas 5)
87 3
87 3
88− ~zod/try=> (mas 6)
88+ > (mas 6)
89 2
89 2
90− ~zod/try=> (mas 0)
90+ > (mas 0)
91 ! exit
91 ! exit
92− ~zod/try=> (mas 1)
92+ > (mas 1)
93 ! exit
93 ! exit
94
94
95
95
@@ -130,11 +130,11 @@ Source
130Examples
130Examples
131--------
131--------
132
132
133− ~zod/try=> (peg 4 1)
133+ > (peg 4 1)
134 4
134 4
135− ~zod/try=> (peg 4 2)
135+ > (peg 4 2)
136 8
136 8
137− ~zod/try=> (peg 8 45)
137+ > (peg 8 45)
138 269
138 269
139
139
140
140
docs/system/hoon/library/1c.md+13−13
@@ -13,10 +13,10 @@ Source
13Examples
13Examples
14--------
14--------
15
15
16− ~zod/try=> :: ++met measures how many bloqs long an atom is
16+ > :: ++met measures how many bloqs long an atom is
17− ~zod/try=> (met 3 256)
17+ > (met 3 256)
18 2
18 2
19− ~zod/try=> :: 256 is 2 bloqs of 2^3
19+ > :: 256 is 2 bloqs of 2^3
20
20
21
21
22***
22***
@@ -130,7 +130,7 @@ Source
130Examples
130Examples
131--------
131--------
132
132
133− ~zod/try=> *(pair bean cord)
133+ > *(pair bean cord)
134 [p=%.y q='']
134 [p=%.y q='']
135
135
136
136
@@ -153,7 +153,7 @@ Source
153Examples
153Examples
154--------
154--------
155
155
156− ~zod/try=> `(pole char)`"asdf"
156+ > `(pole char)`"asdf"
157 [~~a [~~s [~~d [~~f ~]]]]
157 [~~a [~~s [~~d [~~f ~]]]]
158
158
159
159
@@ -174,7 +174,7 @@ Source
174Examples
174Examples
175--------
175--------
176
176
177− ~zod/try=> *(qual date time tape cord)
177+ > *(qual date time tape cord)
178 [p=[[a=%.y y=0] m=0 t=[d=0 h=0 m=0 s=0 f=~]] q=~292277024401-.1.1 r="" s='']
178 [p=[[a=%.y y=0] m=0 t=[d=0 h=0 m=0 s=0 f=~]] q=~292277024401-.1.1 r="" s='']
179
179
180
180
@@ -195,11 +195,11 @@ Source
195Examples
195Examples
196--------
196--------
197
197
198− ~zod/try=> *trap
198+ > *trap
199 <1.mws 101.jzo 1.ypj %164>
199 <1.mws 101.jzo 1.ypj %164>
200− ~zod/try=> (*trap)
200+ > (*trap)
201 0
201 0
202− ~zod/try=> (|.(42))
202+ > (|.(42))
203 42
203 42
204
204
205
205
@@ -222,7 +222,7 @@ Source
222Examples
222Examples
223--------
223--------
224
224
225− ~zod/try=> `(tree {@ tape})`[[1 "hi"] [[2 "bye"] ~ ~] ~]
225+ > `(tree {@ tape})`[[1 "hi"] [[2 "bye"] ~ ~] ~]
226 {[2 "bye"] [1 "hi"]}
226 {[2 "bye"] [1 "hi"]}
227
227
228
228
@@ -244,7 +244,7 @@ Source
244Examples
244Examples
245--------
245--------
246
246
247− ~zod/try=> *(trel @ud @t @s)
247+ > *(trel @ud @t @s)
248 [p=0 q='' r=--0]
248 [p=0 q='' r=--0]
249
249
250
250
@@ -270,11 +270,11 @@ Examples
270
270
271See also: `++bind`
271See also: `++bind`
272
272
273− ~zod/try=> ? *(unit time)
273+ > ? *(unit time)
274 ?({$~ u/@da} $~)
274 ?({$~ u/@da} $~)
275 ~
275 ~
276
276
277− ~zod/try=> > =a |= a/@
277+ > > =a |= a/@
278 ^- (unit @)
278 ^- (unit @)
279 ?~ a ~
279 ?~ a ~
280 [~ a]
280 [~ a]
docs/system/hoon/library/2a.md+42−42
@@ -30,9 +30,9 @@ Source
30Examples
30Examples
31--------
31--------
32
32
33− ~zod/try=> (biff (some 5) |=(a/@ (some (add a 2))))
33+ > (biff (some 5) |=(a/@ (some (add a 2))))
34 [~ u=7]
34 [~ u=7]
35− ~zod/try=> (biff ~ |=(a/@ (some (add a 2))))
35+ > (biff ~ |=(a/@ (some (add a 2))))
36 ~
36 ~
37
37
38
38
@@ -70,10 +70,10 @@ Source
70Examples
70Examples
71--------
71--------
72
72
73− ~zod/try=> (bind ((unit @) [~ 97]) ,@t)
73+ > (bind ((unit @) [~ 97]) ,@t)
74 [~ `a`]
74 [~ `a`]
75− ~zod/try=> =a |=(a/@ (add a 1))
75+ > =a |=(a/@ (add a 1))
76− ~zod/try=> (bind ((unit @) [~ 2]) a)
76+ > (bind ((unit @) [~ 2]) a)
77 [~ 3]
77 [~ 3]
78
78
79
79
@@ -111,11 +111,11 @@ Source
111Examples
111Examples
112--------
112--------
113
113
114− ~zod/try=> (bex 10)
114+ > (bex 10)
115 1.024
115 1.024
116− ~zod/try=> ((bond |.((bex 10))) ~)
116+ > ((bond |.((bex 10))) ~)
117 1.024
117 1.024
118− ~zod/try=> ((bond |.((bex 10))) (slaw %ud '123'))
118+ > ((bond |.((bex 10))) (slaw %ud '123'))
119 123
119 123
120
120
121
121
@@ -154,9 +154,9 @@ Source
154Examples
154Examples
155--------
155--------
156
156
157− ~zod/try=> (both (some 1) (some %b))
157+ > (both (some 1) (some %b))
158 [~ u=[1 %b]]
158 [~ u=[1 %b]]
159− ~zod/try=> (both ~ (some %b))
159+ > (both ~ (some %b))
160 ~
160 ~
161
161
162
162
@@ -195,14 +195,14 @@ Source
195Examples
195Examples
196--------
196--------
197
197
198− ~zod/try=> =u ((unit @t) [~ 'a'])
198+ > =u ((unit @t) [~ 'a'])
199− ~zod/try=> =v ((unit @t) [~ 'b'])
199+ > =v ((unit @t) [~ 'b'])
200− ~zod/try=> (clap u v |=([a=@t b=@t] (welp (trip a) (trip b))))
200+ > (clap u v |=([a=@t b=@t] (welp (trip a) (trip b))))
201 [~ u="ab"]
201 [~ u="ab"]
202− ~zod/try=> =a ((unit @u) [~ 1])
202+ > =a ((unit @u) [~ 1])
203− ~zod/try=> =b ((unit @u) [~ 2])
203+ > =b ((unit @u) [~ 2])
204− ~zod/try=> =c |=([a=@ b=@] (add a b))
204+ > =c |=([a=@ b=@] (add a b))
205− ~zod/try=> (clap a b c)
205+ > (clap a b c)
206 [~ 3]
206 [~ 3]
207
207
208
208
@@ -236,11 +236,11 @@ Source
236Examples
236Examples
237--------
237--------
238
238
239− ~zod/try=> =a ((unit @) [~ 97])
239+ > =a ((unit @) [~ 97])
240− ~zod/try=> (drop a)
240+ > (drop a)
241 [i=97 t=~]
241 [i=97 t=~]
242− ~zod/try=> =a ((unit @) [~])
242+ > =a ((unit @) [~])
243− ~zod/try=> (drop a)
243+ > (drop a)
244 ~
244 ~
245
245
246
246
@@ -275,9 +275,9 @@ Source
275Examples
275Examples
276--------
276--------
277
277
278− ~zod/try=> (fall ~ `a`)
278+ > (fall ~ `a`)
279 `a`
279 `a`
280− ~zod/try=> (fall [~ u=0] `a`)
280+ > (fall [~ u=0] `a`)
281 0
281 0
282
282
283
283
@@ -315,9 +315,9 @@ Source
315Examples
315Examples
316--------
316--------
317
317
318− ~zod/try=> ((lift dec) `(unit @)`~)
318+ > ((lift dec) `(unit @)`~)
319 ~
319 ~
320− ~zod/try=> ((lift dec) `(unit @)`[~ 20])
320+ > ((lift dec) `(unit @)`[~ 20])
321 [~ 19]
321 [~ 19]
322
322
323
323
@@ -358,17 +358,17 @@ Source
358Examples
358Examples
359--------
359--------
360
360
361− ~zod/try=> =a ((unit @) [~ 97])
361+ > =a ((unit @) [~ 97])
362− ~zod/try=> =b ((unit @) [~ 97])
362+ > =b ((unit @) [~ 97])
363− ~zod/try=> (mate a b)
363+ > (mate a b)
364 [~ 97]
364 [~ 97]
365− ~zod/try=> =a ((unit @) [~ 97])
365+ > =a ((unit @) [~ 97])
366− ~zod/try=> =b ((unit @) [~])
366+ > =b ((unit @) [~])
367− ~zod/try=> (mate a b)
367+ > (mate a b)
368 [~ 97]
368 [~ 97]
369− ~zod/try=> =a ((unit @) [~ 97])
369+ > =a ((unit @) [~ 97])
370− ~zod/try=> =b ((unit @) [~ 98])
370+ > =b ((unit @) [~ 98])
371− ~zod/try=> (mate a b)
371+ > (mate a b)
372 ! 'mate'
372 ! 'mate'
373 ! exit
373 ! exit
374
374
@@ -403,14 +403,14 @@ Source
403Examples
403Examples
404--------
404--------
405
405
406− ~zod/try=> =a ((unit [@t @t]) [~ ['a' 'b']])
406+ > =a ((unit [@t @t]) [~ ['a' 'b']])
407− ~zod/try=> (need a)
407+ > (need a)
408 ['a' 'b']
408 ['a' 'b']
409− ~zod/try=> =a ((unit @ud) [~ 17])
409+ > =a ((unit @ud) [~ 17])
410− ~zod/try=> (need a)
410+ > (need a)
411 17
411 17
412− ~zod/try=> =a ((unit @) [~])
412+ > =a ((unit @) [~])
413− ~zod/try=> (need a)
413+ > (need a)
414 ! exit
414 ! exit
415
415
416
416
@@ -442,9 +442,9 @@ Source
442Examples
442Examples
443--------
443--------
444
444
445− ~zod/try=> (some [`a` `b`])
445+ > (some [`a` `b`])
446 [~ u=[`a` `b`]]
446 [~ u=[`a` `b`]]
447− ~zod/try=> (some &)
447+ > (some &)
448 [~ u=%.y]
448 [~ u=%.y]
449
449
450
450
docs/system/hoon/library/2b.md+57−57
@@ -33,8 +33,8 @@ Source
33Examples
33Examples
34--------
34--------
35
35
36− ~zod/try=> =a (limo [1 2 3 ~])
36+ > =a (limo [1 2 3 ~])
37− ~zod/try=> (flop a)
37+ > (flop a)
38 ~[3 2 1]
38 ~[3 2 1]
39
39
40
40
@@ -71,14 +71,14 @@ Source
71Examples
71Examples
72--------
72--------
73
73
74− ~zod/try=> lyst
74+ > lyst
75 [i=1 t=[i=97 t=[i=2 t=[i=98 t=[i=[~ u=10] t=~]]]]]
75 [i=1 t=[i=97 t=[i=2 t=[i=98 t=[i=[~ u=10] t=~]]]]]
76− ~zod/try=> (homo lyst)
76+ > (homo lyst)
77 ~[1 97 2 98 [~ u=10]]
77 ~[1 97 2 98 [~ u=10]]
78− ~zod/try=> =a (limo [1 2 3 ~])
78+ > =a (limo [1 2 3 ~])
79− ~zod/try=> a
79+ > a
80 [i=1 t=[i=2 t=[i=3 t=~]]]
80 [i=1 t=[i=2 t=[i=3 t=~]]]
81− ~zod/try=> (homo a)
81+ > (homo a)
82 ~[1 2 3]
82 ~[1 2 3]
83
83
84
84
@@ -116,9 +116,9 @@ Source
116Examples
116Examples
117--------
117--------
118
118
119− ~zod/try=> (lent (limo [1 2 3 4 ~]))
119+ > (lent (limo [1 2 3 4 ~]))
120 4
120 4
121− ~zod/try=> (lent (limo [1 'a' 2 'b' (some 10) ~]))
121+ > (lent (limo [1 'a' 2 'b' (some 10) ~]))
122 5
122 5
123
123
124
124
@@ -157,11 +157,11 @@ Source
157Examples
157Examples
158--------
158--------
159
159
160− ~zod/try=> =a |=(a/@ (lte a 1))
160+ > =a |=(a/@ (lte a 1))
161− ~zod/try=> (levy (limo [0 1 2 1 ~]) a)
161+ > (levy (limo [0 1 2 1 ~]) a)
162 %.n
162 %.n
163− ~zod/try=> =a |=(a/@ (lte a 3))
163+ > =a |=(a/@ (lte a 3))
164− ~zod/try=> (levy (limo [0 1 2 1 ~]) a)
164+ > (levy (limo [0 1 2 1 ~]) a)
165 %.y
165 %.y
166
166
167
167
@@ -194,11 +194,11 @@ Source
194Examples
194Examples
195--------
195--------
196
196
197− ~zod/try=> =a |=(a=@ (gte a 1))
197+ > =a |=(a=@ (gte a 1))
198− ~zod/try=> (lien (limo [0 1 2 1 ~]) a)
198+ > (lien (limo [0 1 2 1 ~]) a)
199 %.y
199 %.y
200− ~zod/try=> =a |=(a=@ (gte a 3))
200+ > =a |=(a=@ (gte a 3))
201− ~zod/try=> (lien (limo [0 1 2 1 ~]) a)
201+ > (lien (limo [0 1 2 1 ~]) a)
202 %.n
202 %.n
203
203
204
204
@@ -233,7 +233,7 @@ Source
233Examples
233Examples
234--------
234--------
235
235
236− ~zod/try=> (limo [1 2 3 ~])
236+ > (limo [1 2 3 ~])
237 [i=1 t=[i=2 t=[i=3 t=~]]]
237 [i=1 t=[i=2 t=[i=3 t=~]]]
238
238
239
239
@@ -275,8 +275,8 @@ Source
275Examples
275Examples
276--------
276--------
277
277
278− ~zod/try=> =a |=(a=@ ?.((gte a 2) ~ (some (add a 10))))
278+ > =a |=(a=@ ?.((gte a 2) ~ (some (add a 10))))
279− ~zod/try=> (murn (limo [0 1 2 3 ~]) a)
279+ > (murn (limo [0 1 2 3 ~]) a)
280 [i=12 t=[i=13 t=~]]
280 [i=12 t=[i=13 t=~]]
281
281
282
282
@@ -311,11 +311,11 @@ Source
311Examples
311Examples
312--------
312--------
313
313
314− ~zod/try=> (reap 20 %a)
314+ > (reap 20 %a)
315 ~[%a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a]
315 ~[%a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a %a]
316− ~zod/try=> (reap 5 ~s1)
316+ > (reap 5 ~s1)
317 ~[~s1 ~s1 ~s1 ~s1 ~s1]
317 ~[~s1 ~s1 ~s1 ~s1 ~s1]
318− ~zod/try=> `@dr`(roll (reap 5 ~s1) add)
318+ > `@dr`(roll (reap 5 ~s1) add)
319 ~s5
319 ~s5
320
320
321
321
@@ -354,13 +354,13 @@ Source
354Examples
354Examples
355--------
355--------
356
356
357− ~zod/try=> =sum =|([p=@ q=@] |.((add p q)))
357+ > =sum =|([p=@ q=@] |.((add p q)))
358− ~zod/try=> (reel (limo [1 2 3 4 5 ~]) sum)
358+ > (reel (limo [1 2 3 4 5 ~]) sum)
359 15
359 15
360− ~zod/try=> =a =|([p=@ q=@] |.((sub p q)))
360+ > =a =|([p=@ q=@] |.((sub p q)))
361− ~zod/try=> (reel (limo [6 3 1 ~]) a)
361+ > (reel (limo [6 3 1 ~]) a)
362 4
362 4
363− ~zod/try=> (reel (limo [3 6 1 ~]) a)
363+ > (reel (limo [3 6 1 ~]) a)
364 ! subtract-underflow
364 ! subtract-underflow
365 ! exit
365 ! exit
366
366
@@ -399,14 +399,14 @@ Source
399Examples
399Examples
400--------
400--------
401
401
402− ~zod/try=> =sum =|([p=@ q=@] |.((add p q)))
402+ > =sum =|([p=@ q=@] |.((add p q)))
403− ~zod/try=> (roll (limo [1 2 3 4 5 ~]) sum)
403+ > (roll (limo [1 2 3 4 5 ~]) sum)
404 q=15
404 q=15
405− ~zod/try=> =a =|([p=@ q=@] |.((sub p q)))
405+ > =a =|([p=@ q=@] |.((sub p q)))
406− ~zod/try=> (roll (limo [6 3 1 ~]) a)
406+ > (roll (limo [6 3 1 ~]) a)
407 ! subtract-underflow
407 ! subtract-underflow
408 ! exit
408 ! exit
409− ~zod/try=> (roll (limo [1 3 6 ~]) a)
409+ > (roll (limo [1 3 6 ~]) a)
410 q=4
410 q=4
411
411
412
412
@@ -442,9 +442,9 @@ Source
442Examples
442Examples
443--------
443--------
444
444
445− ~zod/try=> (scag 2 (limo [0 1 2 3 ~]))
445+ > (scag 2 (limo [0 1 2 3 ~]))
446 [i=0 t=[i=1 t=~]]
446 [i=0 t=[i=1 t=~]]
447− ~zod/try=> (scag 10 (limo [1 2 3 4 ~]))
447+ > (scag 10 (limo [1 2 3 4 ~]))
448 [i=1 t=[i=2 t=[i=3 t=[i=4 t=~]]]]
448 [i=1 t=[i=2 t=[i=3 t=[i=4 t=~]]]]
449
449
450
450
@@ -483,8 +483,8 @@ Source
483Examples
483Examples
484--------
484--------
485
485
486− ~zod/try=> =a |=(a/@ (gth a 1))
486+ > =a |=(a/@ (gth a 1))
487− ~zod/try=> (skid (limo [0 1 2 3 ~]) a)
487+ > (skid (limo [0 1 2 3 ~]) a)
488 [p=[i=2 t=[i=3 t=~]] q=[i=0 t=[i=1 t=~]]]
488 [p=[i=2 t=[i=3 t=~]] q=[i=0 t=[i=1 t=~]]]
489
489
490
490
@@ -523,8 +523,8 @@ Source
523Examples
523Examples
524--------
524--------
525
525
526− ~zod/try=> =a |=(a/@ (gth a 1))
526+ > =a |=(a/@ (gth a 1))
527− ~zod/try=> (skim (limo [0 1 2 3 ~]) a)
527+ > (skim (limo [0 1 2 3 ~]) a)
528 [i=2 t=[i=3 t=~]]
528 [i=2 t=[i=3 t=~]]
529
529
530
530
@@ -563,8 +563,8 @@ Source
563Examples
563Examples
564--------
564--------
565
565
566− ~zod/try=> =a |=(a/@ (gth a 1))
566+ > =a |=(a/@ (gth a 1))
567− ~zod/try=> (skip (limo [0 1 2 3 ~]) a)
567+ > (skip (limo [0 1 2 3 ~]) a)
568 [i=0 t=[i=1 t=~]]
568 [i=0 t=[i=1 t=~]]
569
569
570
570
@@ -602,9 +602,9 @@ Source
602Examples
602Examples
603--------
603--------
604
604
605− ~zod/try=> (slag 2 (limo [1 2 3 4 ~]))
605+ > (slag 2 (limo [1 2 3 4 ~]))
606 [i=3 t=[i=4 t=~]]
606 [i=3 t=[i=4 t=~]]
607− ~zod/try=> (slag 1 (limo [1 2 3 4 ~]))
607+ > (slag 1 (limo [1 2 3 4 ~]))
608 [i=2 t=[i=3 t=[i=4 t=~]]]
608 [i=2 t=[i=3 t=[i=4 t=~]]]
609
609
610
610
@@ -643,9 +643,9 @@ Source
643Examples
643Examples
644--------
644--------
645
645
646− ~zod/try=> (snag 2 "asdf")
646+ > (snag 2 "asdf")
647 ~~d
647 ~~d
648− ~zod/try=> (snag 0 `(list ,@ud)`~[1 2 3 4])
648+ > (snag 0 `(list ,@ud)`~[1 2 3 4])
649 1
649 1
650
650
651
651
@@ -687,8 +687,8 @@ Source
687Examples
687Examples
688--------
688--------
689
689
690− ~zod/try=> =a =|({p=@ q=@} |.((gth p q)))
690+ > =a =|({p=@ q=@} |.((gth p q)))
691− ~zod/try=> (sort (limo [0 1 2 3 ~]) a)
691+ > (sort (limo [0 1 2 3 ~]) a)
692 ~[3 2 1 0]
692 ~[3 2 1 0]
693
693
694
694
@@ -722,9 +722,9 @@ Source
722Examples
722Examples
723--------
723--------
724
724
725− ~zod/try=> (swag [2 5] "roly poly")
725+ > (swag [2 5] "roly poly")
726 "ly po"
726 "ly po"
727− ~zod/try=> (swag [2 2] (limo [1 2 3 4 ~]))
727+ > (swag [2 2] (limo [1 2 3 4 ~]))
728 [i=3 t=[i=4 t=~]]
728 [i=3 t=[i=4 t=~]]
729
729
730
730
@@ -761,10 +761,10 @@ Source
761Examples
761Examples
762--------
762--------
763
763
764− ~zod/try=> (turn (limo [104 111 111 110 ~]) ,@t)
764+ > (turn (limo [104 111 111 110 ~]) ,@t)
765 <|h o o n|>
765 <|h o o n|>
766− ~zod/try=> =a |=(a/@ (add a 4))
766+ > =a |=(a/@ (add a 4))
767− ~zod/try=> (turn (limo [1 2 3 4 ~]) a)
767+ > (turn (limo [1 2 3 4 ~]) a)
768 ~[5 6 7 8]
768 ~[5 6 7 8]
769
769
770
770
@@ -796,9 +796,9 @@ Source
796Examples
796Examples
797--------
797--------
798
798
799− ~zod/try=> (weld "urb" "it")
799+ > (weld "urb" "it")
800 ~[~~u ~~r ~~b ~~i ~~t]
800 ~[~~u ~~r ~~b ~~i ~~t]
801− ~zod/try=> (weld (limo [1 2 ~]) (limo [3 4 ~]))
801+ > (weld (limo [1 2 ~]) (limo [3 4 ~]))
802 ~[1 2 3 4]
802 ~[1 2 3 4]
803
803
804
804
@@ -839,7 +839,7 @@ Source
839Examples
839Examples
840--------
840--------
841
841
842− ~zod/try=> (welp "foo" "bar")
842+ > (welp "foo" "bar")
843 "foobar"
843 "foobar"
844 ~zod/arvo=/hoon/hoon> (welp ~[60 61 62] ~[%a %b %c])
844 ~zod/arvo=/hoon/hoon> (welp ~[60 61 62] ~[%a %b %c])
845 [60 61 62 %a %b %c ~]
845 [60 61 62 %a %b %c ~]
@@ -886,9 +886,9 @@ Source
886Examples
886Examples
887--------
887--------
888
888
889− ~zod/try=> (zing (limo [(limo ['a' 'b' 'c' ~]) (limo ['e' 'f' 'g' ~]) (limo ['h' 'i' 'j' ~]) ~]))
889+ > (zing (limo [(limo ['a' 'b' 'c' ~]) (limo ['e' 'f' 'g' ~]) (limo ['h' 'i' 'j' ~]) ~]))
890 ~['a' 'b' 'c' 'e' 'f' 'g' 'h' 'i' 'j']
890 ~['a' 'b' 'c' 'e' 'f' 'g' 'h' 'i' 'j']
891− ~zod/try=> (zing (limo [(limo [1 'a' 2 'b' ~]) (limo [3 'c' 4 'd' ~]) ~]))
891+ > (zing (limo [(limo [1 'a' 2 'b' ~]) (limo [3 'c' 4 'd' ~]) ~]))
892 ~[1 97 2 98 3 99 4 100]
892 ~[1 97 2 98 3 99 4 100]
893
893
894
894
docs/system/hoon/library/2c.md+90−90
@@ -28,11 +28,11 @@ Source
28Examples
28Examples
29--------
29--------
30
30
31− ~zod/try=> (bex 4)
31+ > (bex 4)
32 16
32 16
33− ~zod/try=> (bex (add 19 1))
33+ > (bex (add 19 1))
34 1.048.576
34 1.048.576
35− ~zod/try=> (bex 0)
35+ > (bex 0)
36 1
36 1
37
37
38
38
@@ -72,17 +72,17 @@ Source
72Examples
72Examples
73--------
73--------
74
74
75− ~zod/try=> `@ub`(can 3 ~[[1 1]])
75+ > `@ub`(can 3 ~[[1 1]])
76 0b1
76 0b1
77− ~zod/try=> `@ub`(can 0 ~[[1 255]])
77+ > `@ub`(can 0 ~[[1 255]])
78 0b1
78 0b1
79− ~zod/try=> `@ux`(can 3 [3 0xc1] [1 0xa] ~)
79+ > `@ux`(can 3 [3 0xc1] [1 0xa] ~)
80 0xa00.00c1
80 0xa00.00c1
81− ~zod/try=> `@ux`(can 3 [3 0xc1] [1 0xa] [1 0x23] ~)
81+ > `@ux`(can 3 [3 0xc1] [1 0xa] [1 0x23] ~)
82 0x23.0a00.00c1
82 0x23.0a00.00c1
83− ~zod/try=> `@ux`(can 4 [3 0xc1] [1 0xa] [1 0x23] ~)
83+ > `@ux`(can 4 [3 0xc1] [1 0xa] [1 0x23] ~)
84 0x23.000a.0000.0000.00c1
84 0x23.000a.0000.0000.00c1
85− ~zod/try=> `@ux`(can 3 ~[[1 'a'] [2 'bc']])
85+ > `@ux`(can 3 ~[[1 'a'] [2 'bc']])
86 0x63.6261
86 0x63.6261
87
87
88
88
@@ -120,23 +120,23 @@ Source
120Examples
120Examples
121--------
121--------
122
122
123− ~zod/try=> `@ub`(cat 3 1 0)
123+ > `@ub`(cat 3 1 0)
124 0b1
124 0b1
125− ~zod/try=> `@ub`(cat 0 1 1)
125+ > `@ub`(cat 0 1 1)
126 0b11
126 0b11
127− ~zod/try=> `@ub`(cat 0 2 1)
127+ > `@ub`(cat 0 2 1)
128 0b110
128 0b110
129− ~zod/try=> `@ub`(cat 2 1 1)
129+ > `@ub`(cat 2 1 1)
130 0b1.0001
130 0b1.0001
131− ~zod/try=> `@ub`256
131+ > `@ub`256
132 0b1.0000.0000
132 0b1.0000.0000
133− ~zod/try=> `@ub`255
133+ > `@ub`255
134 0b1111.1111
134 0b1111.1111
135− ~zod/try=> `@ub`(cat 3 256 255)
135+ > `@ub`(cat 3 256 255)
136 0b1111.1111.0000.0001.0000.0000
136 0b1111.1111.0000.0001.0000.0000
137− ~zod/try=> `@ub`(cat 2 256 255)
137+ > `@ub`(cat 2 256 255)
138 0b1111.1111.0001.0000.0000
138 0b1111.1111.0001.0000.0000
139− ~zod/try=> (cat 3 256 255)
139+ > (cat 3 256 255)
140 16.711.936
140 16.711.936
141
141
142
142
@@ -173,21 +173,21 @@ Source
173Examples
173Examples
174--------
174--------
175
175
176− ~zod/try=> (cut 0 [1 1] 2)
176+ > (cut 0 [1 1] 2)
177 1
177 1
178− ~zod/try=> (cut 0 [2 1] 4)
178+ > (cut 0 [2 1] 4)
179 1
179 1
180− ~zod/try=> `@t`(cut 3 [0 3] 'abcdefgh')
180+ > `@t`(cut 3 [0 3] 'abcdefgh')
181 'abc'
181 'abc'
182− ~zod/try=> `@t`(cut 3 [1 3] 'abcdefgh')
182+ > `@t`(cut 3 [1 3] 'abcdefgh')
183 'bcd'
183 'bcd'
184− ~zod/try=> `@ub`(cut 0 [0 3] 0b1111.0000.1101)
184+ > `@ub`(cut 0 [0 3] 0b1111.0000.1101)
185 0b101
185 0b101
186− ~zod/try=> `@ub`(cut 0 [0 6] 0b1111.0000.1101)
186+ > `@ub`(cut 0 [0 6] 0b1111.0000.1101)
187 0b1101
187 0b1101
188− ~zod/try=> `@ub`(cut 0 [4 6] 0b1111.0000.1101)
188+ > `@ub`(cut 0 [4 6] 0b1111.0000.1101)
189 0b11.0000
189 0b11.0000
190− ~zod/try=> `@ub`(cut 0 [3 6] 0b1111.0000.1101)
190+ > `@ub`(cut 0 [3 6] 0b1111.0000.1101)
191 0b10.0001
191 0b10.0001
192
192
193
193
@@ -226,21 +226,21 @@ Source
226Examples
226Examples
227--------
227--------
228
228
229− ~zod/try=> `@ub`12
229+ > `@ub`12
230 0b1100
230 0b1100
231− ~zod/try=> `@ub`(end 0 3 12)
231+ > `@ub`(end 0 3 12)
232 0b100
232 0b100
233− ~zod/try=> (end 0 3 12)
233+ > (end 0 3 12)
234 4
234 4
235− ~zod/try=> `@ub`(end 1 3 12)
235+ > `@ub`(end 1 3 12)
236 0b1100
236 0b1100
237− ~zod/try=> (end 1 3 12)
237+ > (end 1 3 12)
238 12
238 12
239− ~zod/try=> `@ux`'abc'
239+ > `@ux`'abc'
240 0x63.6261
240 0x63.6261
241− ~zod/try=> `@ux`(end 3 2 'abc')
241+ > `@ux`(end 3 2 'abc')
242 0x6261
242 0x6261
243− ~zod/try=> `@t`(end 3 2 'abc')
243+ > `@t`(end 3 2 'abc')
244 'ab'
244 'ab'
245
245
246
246
@@ -282,13 +282,13 @@ Source
282Examples
282Examples
283--------
283--------
284
284
285− ~zod/try=> `@t`(fil 3 5 %a)
285+ > `@t`(fil 3 5 %a)
286 'aaaaa'
286 'aaaaa'
287− ~zod/try=> `@t`(fil 5 10 %ceeb)
287+ > `@t`(fil 5 10 %ceeb)
288 'ceebceebceebceebceebceebceebceebceebceeb'
288 'ceebceebceebceebceebceebceebceebceebceeb'
289− ~zod/try=> `@t`(fil 4 10 %eced)
289+ > `@t`(fil 4 10 %eced)
290 'ʇʇʇʇʇʇʇʇʇʇed'
290 'ʇʇʇʇʇʇʇʇʇʇed'
291− ~zod/try=> `@tas`(fil 4 10 %bf)
291+ > `@tas`(fil 4 10 %bf)
292 %bfbfbfbfbfbfbfbfbfbf
292 %bfbfbfbfbfbfbfbfbfbf
293
293
294
294
@@ -326,17 +326,17 @@ Source
326Examples
326Examples
327--------
327--------
328
328
329− ~zod/try=> `@ub`1
329+ > `@ub`1
330 0b1
330 0b1
331− ~zod/try=> `@ub`(lsh 0 1 1)
331+ > `@ub`(lsh 0 1 1)
332 0b10
332 0b10
333− ~zod/try=> (lsh 0 1 1)
333+ > (lsh 0 1 1)
334 2
334 2
335− ~zod/try=> `@ub`255
335+ > `@ub`255
336 0b1111.1111
336 0b1111.1111
337− ~zod/try=> `@ub`(lsh 3 1 255)
337+ > `@ub`(lsh 3 1 255)
338 0b1111.1111.0000.0000
338 0b1111.1111.0000.0000
339− ~zod/try=> (lsh 3 1 255)
339+ > (lsh 3 1 255)
340 65.280
340 65.280
341
341
342
342
@@ -367,15 +367,15 @@ Source
367Examples
367Examples
368--------
368--------
369
369
370− ~zod/try=> (met 0 1)
370+ > (met 0 1)
371 1
371 1
372− ~zod/try=> (met 0 2)
372+ > (met 0 2)
373 2
373 2
374− ~zod/try=> (met 3 255)
374+ > (met 3 255)
375 1
375 1
376− ~zod/try=> (met 3 256)
376+ > (met 3 256)
377 2
377 2
378− ~zod/try=> (met 3 'abcde')
378+ > (met 3 'abcde')
379 5
379 5
380
380
381
381
@@ -412,13 +412,13 @@ Source
412Examples
412Examples
413--------
413--------
414
414
415− ~zod/try=> `@ub`(rap 2 (limo [1 2 3 4 ~]))
415+ > `@ub`(rap 2 (limo [1 2 3 4 ~]))
416 0b100.0011.0010.0001
416 0b100.0011.0010.0001
417− ~zod/try=> `@ub`(rap 1 (limo [1 2 3 4 ~]))
417+ > `@ub`(rap 1 (limo [1 2 3 4 ~]))
418 0b1.0011.1001
418 0b1.0011.1001
419− ~zod/try=> (rap 0 (limo [0 0 0 ~]))
419+ > (rap 0 (limo [0 0 0 ~]))
420 0
420 0
421− ~zod/try=> (rap 0 (limo [1 0 1 ~]))
421+ > (rap 0 (limo [1 0 1 ~]))
422 3
422 3
423
423
424
424
@@ -457,19 +457,19 @@ Source
457Examples
457Examples
458--------
458--------
459
459
460− ~zod/try=> `@ub`(rep 2 (limo [1 2 3 4 ~]))
460+ > `@ub`(rep 2 (limo [1 2 3 4 ~]))
461 0b100.0011.0010.0001
461 0b100.0011.0010.0001
462− ~zod/try=> (rep 0 (limo [0 0 1 ~]))
462+ > (rep 0 (limo [0 0 1 ~]))
463 4
463 4
464− ~zod/try=> (rep 0 (limo [0 0 0 1 ~]))
464+ > (rep 0 (limo [0 0 0 1 ~]))
465 8
465 8
466− ~zod/try=> (rep 0 (limo [0 1 0 0 ~]))
466+ > (rep 0 (limo [0 1 0 0 ~]))
467 2
467 2
468− ~zod/try=> (rep 0 (limo [0 1 0 1 ~]))
468+ > (rep 0 (limo [0 1 0 1 ~]))
469 10
469 10
470− ~zod/try=> (rep 0 (limo [0 1 0 1 0 1 ~]))
470+ > (rep 0 (limo [0 1 0 1 0 1 ~]))
471 42
471 42
472− ~zod/try=> `@ub`42
472+ > `@ub`42
473 0b10.1010
473 0b10.1010
474
474
475
475
@@ -506,21 +506,21 @@ Source
506Examples
506Examples
507--------
507--------
508
508
509− ~zod/try=> `@ub`155
509+ > `@ub`155
510 0b1001.1011
510 0b1001.1011
511− ~zod/try=> (rip 0 155)
511+ > (rip 0 155)
512 ~[1 1 0 1 1 0 0 1]
512 ~[1 1 0 1 1 0 0 1]
513− ~zod/try=> (rip 2 155)
513+ > (rip 2 155)
514 ~[11 9]
514 ~[11 9]
515− ~zod/try=> (rip 1 155)
515+ > (rip 1 155)
516 ~[3 2 1 2]
516 ~[3 2 1 2]
517− ~zod/try=> `@ub`256
517+ > `@ub`256
518 0b1.0000.0000
518 0b1.0000.0000
519− ~zod/try=> (rip 0 256)
519+ > (rip 0 256)
520 ~[0 0 0 0 0 0 0 0 1]
520 ~[0 0 0 0 0 0 0 0 1]
521− ~zod/try=> (rip 2 256)
521+ > (rip 2 256)
522 ~[0 0 1]
522 ~[0 0 1]
523− ~zod/try=> (rip 3 256)
523+ > (rip 3 256)
524 ~[0 1]
524 ~[0 1]
525
525
526
526
@@ -557,27 +557,27 @@ Source
557Examples
557Examples
558--------
558--------
559
559
560− ~zod/try=> `@ub`145
560+ > `@ub`145
561 0b1001.0001
561 0b1001.0001
562− ~zod/try=> `@ub`(rsh 1 1 145)
562+ > `@ub`(rsh 1 1 145)
563 0b10.0100
563 0b10.0100
564− ~zod/try=> (rsh 1 1 145)
564+ > (rsh 1 1 145)
565 36
565 36
566− ~zod/try=> `@ub`(rsh 2 1 145)
566+ > `@ub`(rsh 2 1 145)
567 0b1001
567 0b1001
568− ~zod/try=> (rsh 2 1 145)
568+ > (rsh 2 1 145)
569 9
569 9
570− ~zod/try=> `@ub`10
570+ > `@ub`10
571 0b1010
571 0b1010
572− ~zod/try=> `@ub`(rsh 0 1 10)
572+ > `@ub`(rsh 0 1 10)
573 0b101
573 0b101
574− ~zod/try=> (rsh 0 1 10)
574+ > (rsh 0 1 10)
575 5
575 5
576− ~zod/try=> `@ux`'abc'
576+ > `@ux`'abc'
577 0x63.6261
577 0x63.6261
578− ~zod/try=> `@t`(rsh 3 1 'abc')
578+ > `@t`(rsh 3 1 'abc')
579 'bc'
579 'bc'
580− ~zod/try=> `@ux`(rsh 3 1 'abc')
580+ > `@ux`(rsh 3 1 'abc')
581 0x6362
581 0x6362
582
582
583
583
@@ -611,15 +611,15 @@ Source
611Examples
611Examples
612--------
612--------
613
613
614− ~zod/try=> `@ub`24
614+ > `@ub`24
615 0b1.1000
615 0b1.1000
616− ~zod/try=> (swap 0 24)
616+ > (swap 0 24)
617 3
617 3
618− ~zod/try=> `@ub`3
618+ > `@ub`3
619 0b11
619 0b11
620− ~zod/try=> (swap 0 0)
620+ > (swap 0 0)
621 0
621 0
622− ~zod/try=> (swap 0 128)
622+ > (swap 0 128)
623 1
623 1
624
624
625
625
@@ -653,17 +653,17 @@ Source
653Examples
653Examples
654--------
654--------
655
655
656− ~zod/try=> (xeb 31)
656+ > (xeb 31)
657 5
657 5
658− ~zod/try=> (xeb 32)
658+ > (xeb 32)
659 6
659 6
660− ~zod/try=> (xeb 49)
660+ > (xeb 49)
661 6
661 6
662− ~zod/try=> (xeb 0)
662+ > (xeb 0)
663 0
663 0
664− ~zod/try=> (xeb 1)
664+ > (xeb 1)
665 1
665 1
666− ~zod/try=> (xeb 2)
666+ > (xeb 2)
667 2
667 2
668
668
669
669
docs/system/hoon/library/2d.md+26−26
@@ -41,17 +41,17 @@ Source
41Examples
41Examples
42--------
42--------
43
43
44− ~zod/try=> (con 0b0 0b1)
44+ > (con 0b0 0b1)
45 1
45 1
46− ~zod/try=> (con 0 1)
46+ > (con 0 1)
47 1
47 1
48− ~zod/try=> (con 0 0)
48+ > (con 0 0)
49 0
49 0
50− ~zod/try=> `@ub`(con 0b1111.0000 0b1.0011)
50+ > `@ub`(con 0b1111.0000 0b1.0011)
51 0b1111.0011
51 0b1111.0011
52− ~zod/try=> (con 4 4)
52+ > (con 4 4)
53 4
53 4
54− ~zod/try=> (con 10.000 234)
54+ > (con 10.000 234)
55 10.234
55 10.234
56
56
57
57
@@ -99,21 +99,21 @@ Source
99Examples
99Examples
100--------
100--------
101
101
102− ~zod/try=> `@ub`9
102+ > `@ub`9
103 0b1001
103 0b1001
104− ~zod/try=> `@ub`5
104+ > `@ub`5
105 0b101
105 0b101
106− ~zod/try=> `@ub`(dis 9 5)
106+ > `@ub`(dis 9 5)
107 0b1
107 0b1
108− ~zod/try=> (dis 9 5)
108+ > (dis 9 5)
109 1
109 1
110− ~zod/try=> `@ub`534
110+ > `@ub`534
111 0b10.0001.0110
111 0b10.0001.0110
112− ~zod/try=> `@ub`987
112+ > `@ub`987
113 0b11.1101.1011
113 0b11.1101.1011
114− ~zod/try=> `@ub`(dis 534 987)
114+ > `@ub`(dis 534 987)
115 0b10.0001.0010
115 0b10.0001.0010
116− ~zod/try=> (dis 534 987)
116+ > (dis 534 987)
117 530
117 530
118
118
119
119
@@ -157,17 +157,17 @@ Source
157Examples
157Examples
158--------
158--------
159
159
160− ~zod/try=> `@ub`2
160+ > `@ub`2
161 0b10
161 0b10
162− ~zod/try=> `@ub`3
162+ > `@ub`3
163 0b11
163 0b11
164− ~zod/try=> `@ub`(mix 2 3)
164+ > `@ub`(mix 2 3)
165 0b1
165 0b1
166− ~zod/try=> (mix 2 3)
166+ > (mix 2 3)
167 1
167 1
168− ~zod/try=> `@ub`(mix 2 2)
168+ > `@ub`(mix 2 2)
169 0b0
169 0b0
170− ~zod/try=> (mix 2 2)
170+ > (mix 2 2)
171 0
171 0
172
172
173
173
@@ -204,17 +204,17 @@ Source
204Examples
204Examples
205--------
205--------
206
206
207− ~zod/try=> `@ub`24
207+ > `@ub`24
208 0b1.1000
208 0b1.1000
209− ~zod/try=> (not 0 5 24)
209+ > (not 0 5 24)
210 7
210 7
211− ~zod/try=> `@ub`7
211+ > `@ub`7
212 0b111
212 0b111
213− ~zod/try=> (not 2 5 24)
213+ > (not 2 5 24)
214 1.048.551
214 1.048.551
215− ~zod/try=> (not 2 5 1.048.551)
215+ > (not 2 5 1.048.551)
216 24
216 24
217− ~zod/try=> (not 1 1 (not 1 1 10))
217+ > (not 1 1 (not 1 1 10))
218 10
218 10
219
219
220
220
docs/system/hoon/library/2e.md+13−13
@@ -24,11 +24,11 @@ Source
24Examples
24Examples
25--------
25--------
26
26
27− ~zod/try=> (fnv 10.000)
27+ > (fnv 10.000)
28 272.465.456
28 272.465.456
29− ~zod/try=> (fnv 10.001)
29+ > (fnv 10.001)
30 289.243.075
30 289.243.075
31− ~zod/try=> (fnv 1)
31+ > (fnv 1)
32 16.777.619
32 16.777.619
33
33
34
34
@@ -77,15 +77,15 @@ Source
77Examples
77Examples
78--------
78--------
79
79
80− ~zod/try=> (mug 10.000)
80+ > (mug 10.000)
81 178.152.889
81 178.152.889
82− ~zod/try=> (mug 10.001)
82+ > (mug 10.001)
83 714.838.017
83 714.838.017
84− ~zod/try=> (mug 1)
84+ > (mug 1)
85 67.918.732
85 67.918.732
86− ~zod/try=> (mug (some 10))
86+ > (mug (some 10))
87 1.872.403.737
87 1.872.403.737
88− ~zod/try=> (mug (limo [1 2 3 4 5 ~]))
88+ > (mug (limo [1 2 3 4 5 ~]))
89 1.067.931.605
89 1.067.931.605
90
90
91
91
@@ -139,15 +139,15 @@ Source
139Examples
139Examples
140--------
140--------
141
141
142− ~zod/try=> (mum 10.000)
142+ > (mum 10.000)
143 1.232.632.901
143 1.232.632.901
144− ~zod/try=> (mum 10.001)
144+ > (mum 10.001)
145 658.093.079
145 658.093.079
146− ~zod/try=> (mum 1)
146+ > (mum 1)
147 818.387.364
147 818.387.364
148− ~zod/try=> (mum (some 10))
148+ > (mum (some 10))
149 1.177.215.703
149 1.177.215.703
150− ~zod/try=> (mum ~[1 2 3 4 5])
150+ > (mum ~[1 2 3 4 5])
151 1.517.902.092
151 1.517.902.092
152
152
153
153
docs/system/hoon/library/2f.md+32−32
@@ -43,21 +43,21 @@ Source
43Examples
43Examples
44--------
44--------
45
45
46− ~zod/try=> (aor 'a' 'b')
46+ > (aor 'a' 'b')
47 %.y
47 %.y
48− ~zod/try=> (aor 'b' 'a')
48+ > (aor 'b' 'a')
49 %.n
49 %.n
50− ~zod/try=> (aor "foo" "bar")
50+ > (aor "foo" "bar")
51 %.n
51 %.n
52− ~zod/try=> (aor "bar" "foo")
52+ > (aor "bar" "foo")
53 %.y
53 %.y
54− ~zod/try=> (aor "abcdefz" "abcdefa")
54+ > (aor "abcdefz" "abcdefa")
55 %.n
55 %.n
56− ~zod/try=> (aor "abcdefa" "abcdefz")
56+ > (aor "abcdefa" "abcdefz")
57 %.y
57 %.y
58− ~zod/try=> (aor 10.000 17.000)
58+ > (aor 10.000 17.000)
59 %.y
59 %.y
60− ~zod/try=> (aor 10 9)
60+ > (aor 10 9)
61 %.n
61 %.n
62
62
63
63
@@ -102,17 +102,17 @@ Source
102Examples
102Examples
103--------
103--------
104
104
105− ~zod/try=> (dor 1 2)
105+ > (dor 1 2)
106 %.y
106 %.y
107− ~zod/try=> (dor 2 1)
107+ > (dor 2 1)
108 %.n
108 %.n
109− ~zod/try=> (dor ~[1 2 3] ~[1 2 4])
109+ > (dor ~[1 2 3] ~[1 2 4])
110 %.y
110 %.y
111− ~zod/try=> (dor ~[1 2 4] ~[1 2 3])
111+ > (dor ~[1 2 4] ~[1 2 3])
112 %.n
112 %.n
113− ~zod/try=> (dor (limo ~[99 100 10.000]) ~[99 101 10.000])
113+ > (dor (limo ~[99 100 10.000]) ~[99 101 10.000])
114 %.y
114 %.y
115− ~zod/try=> (dor ~[99 101 10.999] (limo ~[99 100 10.000]))
115+ > (dor ~[99 101 10.999] (limo ~[99 100 10.000]))
116 %.n
116 %.n
117
117
118
118
@@ -152,26 +152,26 @@ Source
152Examples
152Examples
153--------
153--------
154
154
155− ~zod/try=> (gor 'd' 'c')
155+ > (gor 'd' 'c')
156 %.y
156 %.y
157− ~zod/try=> 'd'
157+ > 'd'
158 'd'
158 'd'
159− ~zod/try=> 'c'
159+ > 'c'
160− ~zod/try=> `@ud`'d'
160+ > `@ud`'d'
161 100
161 100
162− ~zod/try=> `@ud`'c'
162+ > `@ud`'c'
163 99
163 99
164− ~zod/try=> (mug 'd')
164+ > (mug 'd')
165 1.628.185.714
165 1.628.185.714
166− ~zod/try=> (mug 'c')
166+ > (mug 'c')
167 1.712.073.811
167 1.712.073.811
168− ~zod/try=> (gor 'd' 'c')
168+ > (gor 'd' 'c')
169 %.y
169 %.y
170− ~zod/try=> (gor 'c' 'd')
170+ > (gor 'c' 'd')
171 %.n
171 %.n
172− ~zod/try=> (gor "foo" "bar")
172+ > (gor "foo" "bar")
173 %.n
173 %.n
174− ~zod/try=> (gor (some 10) (limo [1 2 3 ~]))
174+ > (gor (some 10) (limo [1 2 3 ~]))
175 %.n
175 %.n
176
176
177
177
@@ -218,13 +218,13 @@ Source
218Examples
218Examples
219--------
219--------
220
220
221− ~zod/try=> (hor . 1)
221+ > (hor . 1)
222 %.n
222 %.n
223− ~zod/try=> (hor 1 2)
223+ > (hor 1 2)
224 %.y
224 %.y
225− ~zod/try=> (hor "abc" "cba")
225+ > (hor "abc" "cba")
226 %.y
226 %.y
227− ~zod/try=> (hor 'c' 'd')
227+ > (hor 'c' 'd')
228 %.n
228 %.n
229
229
230
230
@@ -262,11 +262,11 @@ Source
262Examples
262Examples
263--------
263--------
264
264
265− ~zod/try=> (vor 'f' 'g')
265+ > (vor 'f' 'g')
266 %.y
266 %.y
267− ~zod/try=> (vor 'a' 'z')
267+ > (vor 'a' 'z')
268 %.n
268 %.n
269− ~zod/try=> (vor 43.326 41.106)
269+ > (vor 43.326 41.106)
270 %.n
270 %.n
271
271
272
272
docs/system/hoon/library/2h.md+49−49
@@ -21,7 +21,7 @@ Source
21Examples
21Examples
22--------
22--------
23
23
24− ~zod/try=> ~(. in (sa "asd"))
24+ > ~(. in (sa "asd"))
25 <13.evb [nlr(^$1{@tD $1}) <414.fvk 101.jzo 1.ypj %164>]>
25 <13.evb [nlr(^$1{@tD $1}) <414.fvk 101.jzo 1.ypj %164>]>
26
26
27### `+-all:in`
27### `+-all:in`
@@ -58,11 +58,11 @@ Source
58Examples
58Examples
59--------
59--------
60
60
61− ~zod/try=> =b (sa `(list [@t *])`[['a' 1] ['b' [2 3]] ~])
61+ > =b (sa `(list [@t *])`[['a' 1] ['b' [2 3]] ~])
62− ~zod/try=> (~(all in b) |=(a/* ?@(+.a & |)))
62+ > (~(all in b) |=(a/* ?@(+.a & |)))
63 %.n
63 %.n
64− ~zod/try=> =b (sa `(list @t)`['john' 'bonita' 'daniel' 'madeleine' ~])
64+ > =b (sa `(list @t)`['john' 'bonita' 'daniel' 'madeleine' ~])
65− ~zod/try=> (~(all in b) |=(a/@t (gte a 100)))
65+ > (~(all in b) |=(a/@t (gte a 100)))
66 %.y
66 %.y
67
67
68------------------------------------------------------------------------
68------------------------------------------------------------------------
@@ -101,11 +101,11 @@ Source
101Examples
101Examples
102--------
102--------
103
103
104− ~zod/try=> =b (sa `(list [@t *])`[['a' 1] ['b' [2 3]] ~])
104+ > =b (sa `(list [@t *])`[['a' 1] ['b' [2 3]] ~])
105− ~zod/try=> (~(any in b) |=(a/* ?@(+.a & |)))
105+ > (~(any in b) |=(a/* ?@(+.a & |)))
106 %.y
106 %.y
107− ~zod/try=> =b (sa `(list @t)`['john' 'bonita' 'daniel' 'madeleine' ~])
107+ > =b (sa `(list @t)`['john' 'bonita' 'daniel' 'madeleine' ~])
108− ~zod/try=> (~(any in b) |=(a/@t (lte a 100)))
108+ > (~(any in b) |=(a/@t (lte a 100)))
109 %.n
109 %.n
110
110
111------------------------------------------------------------------------
111------------------------------------------------------------------------
@@ -153,13 +153,13 @@ Source
153Examples
153Examples
154--------
154--------
155
155
156− ~zod/try=> =b (sa `(list @t)`['a' 'b' 'c' ~])
156+ > =b (sa `(list @t)`['a' 'b' 'c' ~])
157− ~zod/try=> (~(del in b) 'a')
157+ > (~(del in b) 'a')
158 {'c' 'b'}
158 {'c' 'b'}
159− ~zod/try=> =b (sa `(list @t)`['john' 'bonita' 'daniel' 'madeleine' ~])
159+ > =b (sa `(list @t)`['john' 'bonita' 'daniel' 'madeleine' ~])
160− ~zod/try=> (~(del in b) 'john')
160+ > (~(del in b) 'john')
161 {'bonita' 'madeleine' 'daniel'}
161 {'bonita' 'madeleine' 'daniel'}
162− ~zod/try=> (~(del in b) 'susan')
162+ > (~(del in b) 'susan')
163 {'bonita' 'madeleine' 'daniel' 'john'}
163 {'bonita' 'madeleine' 'daniel' 'john'}
164
164
165------------------------------------------------------------------------
165------------------------------------------------------------------------
@@ -201,16 +201,16 @@ Source
201Examples
201Examples
202--------
202--------
203
203
204− ~zod/try=> =a (sa `(list @)`[1 2 3 4 5 6 7 ~])
204+ > =a (sa `(list @)`[1 2 3 4 5 6 7 ~])
205− ~zod/try=> a
205+ > a
206 {5 4 7 6 1 3 2}
206 {5 4 7 6 1 3 2}
207− ~zod/try=> -.a
207+ > -.a
208 n=6
208 n=6
209− ~zod/try=> (~(dig in a) 7)
209+ > (~(dig in a) 7)
210 [~ 12]
210 [~ 12]
211− ~zod/try=> (~(dig in a) 2)
211+ > (~(dig in a) 2)
212 [~ 14]
212 [~ 14]
213− ~zod/try=> (~(dig in a) 6)
213+ > (~(dig in a) 6)
214 [~ 2]
214 [~ 2]
215
215
216------------------------------------------------------------------------
216------------------------------------------------------------------------
@@ -249,11 +249,11 @@ Source
249Examples
249Examples
250--------
250--------
251
251
252− ~zod/try=> b
252+ > b
253 {'bonita' 'madeleine' 'rudolf' 'john'}
253 {'bonita' 'madeleine' 'rudolf' 'john'}
254− ~zod/try=> (~(gas in b) `(list @t)`['14' 'things' 'number' '1.337' ~])
254+ > (~(gas in b) `(list @t)`['14' 'things' 'number' '1.337' ~])
255 {'1.337' '14' 'number' 'things' 'bonita' 'madeleine' 'rudolf' 'john'}
255 {'1.337' '14' 'number' 'things' 'bonita' 'madeleine' 'rudolf' 'john'}
256− ~zod/try=> (~(gas in s) `(list ,@t)`['1' '2' '3' ~])
256+ > (~(gas in s) `(list ,@t)`['1' '2' '3' ~])
257 {'1' '3' '2' 'e' 'd' 'a' 'c' 'b'}
257 {'1' '3' '2' 'e' 'd' 'a' 'c' 'b'}
258
258
259------------------------------------------------------------------------
259------------------------------------------------------------------------
@@ -296,10 +296,10 @@ Source
296Examples
296Examples
297--------
297--------
298
298
299− ~zod/try=> =a (~(gas in `(set @t)`~) `(list @t)`[`a` `b` `c` ~])
299+ > =a (~(gas in `(set @t)`~) `(list @t)`[`a` `b` `c` ~])
300− ~zod/try=> (~(has in a) `a`)
300+ > (~(has in a) `a`)
301 %.y
301 %.y
302− ~zod/try=> (~(has in a) 'z')
302+ > (~(has in a) 'z')
303 %.n
303 %.n
304
304
305------------------------------------------------------------------------
305------------------------------------------------------------------------
@@ -348,13 +348,13 @@ Source
348Examples
348Examples
349--------
349--------
350
350
351− ~zod/try=> (~(int in (sa "ac")) (sa "ha"))
351+ > (~(int in (sa "ac")) (sa "ha"))
352 {~~a}
352 {~~a}
353− ~zod/try=> (~(int in (sa "acmo")) ~)
353+ > (~(int in (sa "acmo")) ~)
354 {}
354 {}
355− ~zod/try=> (~(int in (sa "acmo")) (sa "ham"))
355+ > (~(int in (sa "acmo")) (sa "ham"))
356 {~~a ~~m}
356 {~~a ~~m}
357− ~zod/try=> (~(int in (sa "acmo")) (sa "lep"))
357+ > (~(int in (sa "acmo")) (sa "lep"))
358 {}
358 {}
359
359
360------------------------------------------------------------------------
360------------------------------------------------------------------------
@@ -405,11 +405,11 @@ Source
405Examples
405Examples
406--------
406--------
407
407
408− ~zod/try=> =a (~(gas in `(set @t)`~) `(list @t)`[`a` `b` `c` ~])
408+ > =a (~(gas in `(set @t)`~) `(list @t)`[`a` `b` `c` ~])
409− ~zod/try=> =b (~(put in a) `d`)
409+ > =b (~(put in a) `d`)
410− ~zod/try=> b
410+ > b
411 {`d` `a` `c` `b`}
411 {`d` `a` `c` `b`}
412− ~zod/try=> -.l.+.b
412+ > -.l.+.b
413 n=`d`
413 n=`d`
414
414
415------------------------------------------------------------------------
415------------------------------------------------------------------------
@@ -448,10 +448,10 @@ Source
448Examples
448Examples
449--------
449--------
450
450
451− ~zod/try=> =a (~(gas in *(set @)) [1 2 3 ~])
451+ > =a (~(gas in *(set @)) [1 2 3 ~])
452− ~zod/try=> a
452+ > a
453 {1 3 2}
453 {1 3 2}
454− ~zod/try=> (~(rep in a) 0 |=([a/@ b/@] (add a b)))
454+ > (~(rep in a) 0 |=([a/@ b/@] (add a b)))
455 6
455 6
456
456
457------------------------------------------------------------------------
457------------------------------------------------------------------------
@@ -489,12 +489,12 @@ Source
489Examples
489Examples
490--------
490--------
491
491
492− ~zod/try=> =s (sa `(list @t)`['a' 'b' 'c' 'd' 'e' ~])
492+ > =s (sa `(list @t)`['a' 'b' 'c' 'd' 'e' ~])
493− ~zod/try=> s
493+ > s
494 {'e' 'd' 'a' 'c' 'b'}
494 {'e' 'd' 'a' 'c' 'b'}
495− ~zod/try=> (~(tap in s) `(list @t)`['1' '2' '3' ~])
495+ > (~(tap in s) `(list @t)`['1' '2' '3' ~])
496 ~['b' 'c' 'a' 'd' 'e' '1' '2' '3']
496 ~['b' 'c' 'a' 'd' 'e' '1' '2' '3']
497− ~zod/try=> b
497+ > b
498 {'bonita' 'madeleine' 'daniel' 'john'}
498 {'bonita' 'madeleine' 'daniel' 'john'}
499 ~zod/try=> (~(tap in b) `(list ,@t)`['david' 'people' ~])
499 ~zod/try=> (~(tap in b) `(list ,@t)`['david' 'people' ~])
500 ~['john' 'daniel' 'madeleine' 'bonita' 'david' 'people']
500 ~['john' 'daniel' 'madeleine' 'bonita' 'david' 'people']
@@ -549,13 +549,13 @@ Source
549Examples
549Examples
550--------
550--------
551
551
552− ~zod/try=> (~(uni in (sa "ac")) (sa "ha"))
552+ > (~(uni in (sa "ac")) (sa "ha"))
553 {~~a ~~c ~~h}
553 {~~a ~~c ~~h}
554− ~zod/try=> (~(uni in (sa "acmo")) ~)
554+ > (~(uni in (sa "acmo")) ~)
555 {~~a ~~c ~~m ~~o}
555 {~~a ~~c ~~m ~~o}
556− ~zod/try=> (~(uni in (sa "acmo")) (sa "ham"))
556+ > (~(uni in (sa "acmo")) (sa "ham"))
557 {~~a ~~c ~~m ~~o ~~h}
557 {~~a ~~c ~~m ~~o ~~h}
558− ~zod/try=> (~(uni in (sa "acmo")) (sa "lep"))
558+ > (~(uni in (sa "acmo")) (sa "lep"))
559 {~~e ~~a ~~c ~~m ~~l ~~o ~~p}
559 {~~e ~~a ~~c ~~m ~~l ~~o ~~p}
560
560
561------------------------------------------------------------------------
561------------------------------------------------------------------------
@@ -589,12 +589,12 @@ Source
589Examples
589Examples
590--------
590--------
591
591
592− ~zod/try=> =a (~(put in (~(put in (sa)) 'a')) 'b')
592+ > =a (~(put in (~(put in (sa)) 'a')) 'b')
593− ~zod/try=> ~(wyt in a)
593+ > ~(wyt in a)
594 2
594 2
595− ~zod/try=> b
595+ > b
596 {'bonita' 'madeleine' 'daniel' 'john'}
596 {'bonita' 'madeleine' 'daniel' 'john'}
597− ~zod/try=> ~(wyt in b)
597+ > ~(wyt in b)
598 4
598 4
599
599
600
600
docs/system/hoon/library/2i.md+70−70
@@ -13,7 +13,7 @@ pairs. The contained arms inherit it's sample map, `a`.
13
13
14`a` is a map.
14`a` is a map.
15
15
16− ~zod/try=> ~(. by (mo (limo [%a 1] [%b 2] ~)))
16+ > ~(. by (mo (limo [%a 1] [%b 2] ~)))
17 <19.irb [nlr([p={%a %b} q=@ud]) <414.rvm 101.jzo 1.ypj %164>]>
17 <19.irb [nlr([p={%a %b} q=@ud]) <414.rvm 101.jzo 1.ypj %164>]>
18
18
19------------------------------------------------------------------------
19------------------------------------------------------------------------
@@ -39,13 +39,13 @@ Computes the logical AND on the results of slamming every element in map
39
39
40`b` is a wet gate.
40`b` is a wet gate.
41
41
42− ~zod/try=> =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
42+ > =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
43− ~zod/try=> (~(all by b) |=(a/* ?@(a & |)))
43+ > (~(all by b) |=(a/* ?@(a & |)))
44 %.n
44 %.n
45− ~zod/try=> =a (mo `(list {@t @u})`[['a' 1] ['b' 2] ['c' 3] ['d' 4] ['e' 5] ~])
45+ > =a (mo `(list {@t @u})`[['a' 1] ['b' 2] ['c' 3] ['d' 4] ['e' 5] ~])
46− ~zod/try=> (~(all by a) |=(a/@ (lte a 6)))
46+ > (~(all by a) |=(a/@ (lte a 6)))
47 %.y
47 %.y
48− ~zod/try=> (~(all by a) |=(a/@ (lte a 4)))
48+ > (~(all by a) |=(a/@ (lte a 4)))
49 %.n
49 %.n
50
50
51------------------------------------------------------------------------
51------------------------------------------------------------------------
@@ -69,11 +69,11 @@ gate `b`. Produces a loobean.
69
69
70`b` is a wet gate.
70`b` is a wet gate.
71
71
72− ~zod/try=> =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
72+ > =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
73− ~zod/try=> (~(all by b) |=(a/* ?@(a & |)))
73+ > (~(all by b) |=(a/* ?@(a & |)))
74 %.y
74 %.y
75− ~zod/try=> =a (mo `(list {@t @u})`[['a' 1] ['b' 2] ['c' 3] ['d' 4] ['e' 5] ~])
75+ > =a (mo `(list {@t @u})`[['a' 1] ['b' 2] ['c' 3] ['d' 4] ['e' 5] ~])
76− ~zod/try=> (~(any by a) |=(a=@ (lte a 4)))
76+ > (~(any by a) |=(a=@ (lte a 4)))
77 %.y
77 %.y
78
78
79------------------------------------------------------------------------
79------------------------------------------------------------------------
@@ -106,8 +106,8 @@ Produces map `a` with the element located at key `b` removed.
106
106
107`b` is a key as a noun.
107`b` is a key as a noun.
108
108
109− ~zod/try=> =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
109+ > =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
110− ~zod/try=> (~(del by b) `a`)
110+ > (~(del by b) `a`)
111 {[p=`b` q=[2 3]]}
111 {[p=`b` q=[2 3]]}
112
112
113------------------------------------------------------------------------
113------------------------------------------------------------------------
@@ -134,8 +134,8 @@ Produce the axis of key `b` within map `a`.
134
134
135`b` is a key as a noun.
135`b` is a key as a noun.
136
136
137− ~zod/try=> =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
137+ > =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
138− ~zod/try=> (~(dig by b) `b`)
138+ > (~(dig by b) `b`)
139 [~ 2]
139 [~ 2]
140
140
141------------------------------------------------------------------------
141------------------------------------------------------------------------
@@ -160,9 +160,9 @@ Insert a list of key-value pairs `b` into map `a`.
160
160
161`b` is a list of cells of key-value nouns `p` and `q`.
161`b` is a list of cells of key-value nouns `p` and `q`.
162
162
163− ~zod/try=> =a (mo `(list {@t *})`[[`a` 1] [`b` 2] ~])
163+ > =a (mo `(list {@t *})`[[`a` 1] [`b` 2] ~])
164− ~zod/try=> =b `(list {@t *})`[[`c` 3] [`d` 4] ~]
164+ > =b `(list {@t *})`[[`c` 3] [`d` 4] ~]
165− ~zod/try=> (~(gas by a) b)
165+ > (~(gas by a) b)
166 {[p=`d` q=4] [p=`a` q=1] [p=`c` q=3] [p=`b` q=2]}
166 {[p=`d` q=4] [p=`a` q=1] [p=`c` q=3] [p=`b` q=2]}
167
167
168------------------------------------------------------------------------
168------------------------------------------------------------------------
@@ -189,8 +189,8 @@ Produce the unit value of the value located at key `b` within map `a`.
189
189
190`b` is a key as a noun
190`b` is a key as a noun
191
191
192− ~zod/try=> =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
192+ > =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
193− ~zod/try=> (~(get by b) `b`)
193+ > (~(get by b) `b`)
194 [~ [2 3]]
194 [~ [2 3]]
195
195
196------------------------------------------------------------------------
196------------------------------------------------------------------------
@@ -210,14 +210,14 @@ does not exist.
210
210
211`b` is a key.
211`b` is a key.
212
212
213− ~zod/try=> =m (mo `(list {@t *})`[['a' 1] ['b' 2] ~])
213+ > =m (mo `(list {@t *})`[['a' 1] ['b' 2] ~])
214− ~zod/try=> m
214+ > m
215 {[p='a' q=1] [p='b' q=2]}
215 {[p='a' q=1] [p='b' q=2]}
216− ~zod/try=> (~(get by m) 'a')
216+ > (~(get by m) 'a')
217 [~ 1]
217 [~ 1]
218− ~zod/try=> (~(got by m) 'a')
218+ > (~(got by m) 'a')
219 1
219 1
220− ~zod/try=> (~(got by m) 'c')
220+ > (~(got by m) 'c')
221 ! exit
221 ! exit
222
222
223------------------------------------------------------------------------
223------------------------------------------------------------------------
@@ -239,10 +239,10 @@ loobean.
239
239
240`b` is a key as a noun.
240`b` is a key as a noun.
241
241
242− ~zod/try=> =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
242+ > =b (mo `(list {@t *})`[['a' 1] ['b' [2 3]] ~])
243− ~zod/try=> (~(has by b) `b`)
243+ > (~(has by b) `b`)
244 %.y
244 %.y
245− ~zod/try=> (~(has by b) `c`)
245+ > (~(has by b) `c`)
246 %.n
246 %.n
247
247
248------------------------------------------------------------------------
248------------------------------------------------------------------------
@@ -280,25 +280,25 @@ different values, the element from map `b` is used.
280
280
281`b` is a map.
281`b` is a map.
282
282
283− ~zod/try=> =n (mo `(list {@t *})`[['a' 1] ['c' 3] ~])
283+ > =n (mo `(list {@t *})`[['a' 1] ['c' 3] ~])
284− ~zod/try=> n
284+ > n
285 {[p='a' q=1] [p='c' q=3]}
285 {[p='a' q=1] [p='c' q=3]}
286− ~zod/try=> m
286+ > m
287 {[p='a' q=1] [p='b' q=2]}
287 {[p='a' q=1] [p='b' q=2]}
288− ~zod/try=> (~(int by m) n)
288+ > (~(int by m) n)
289 {[p='a' q=1]}
289 {[p='a' q=1]}
290 ~ravpel-holber/try=> =p (mo `(list {@t *})`[['a' 2] ['b' 2] ~])
290 ~ravpel-holber/try=> =p (mo `(list {@t *})`[['a' 2] ['b' 2] ~])
291− ~zod/try=> p
291+ > p
292 {[p='a' q=2] [p='b' q=2]}
292 {[p='a' q=2] [p='b' q=2]}
293− ~zod/try=> (~(int by p) n)
293+ > (~(int by p) n)
294 {[p='a' q=2]}
294 {[p='a' q=2]}
295− ~zod/try=> =q (mo `(list {@t *})`[['a' 2] ['c' 2] ~])
295+ > =q (mo `(list {@t *})`[['a' 2] ['c' 2] ~])
296− ~zod/try=> q
296+ > q
297 {[p='a' q=2] [p='b' q=2]}
297 {[p='a' q=2] [p='b' q=2]}
298− ~zod/try=> (~(int by p) q)
298+ > (~(int by p) q)
299 {[p='a' q=2] [p='b' q=2]}
299 {[p='a' q=2] [p='b' q=2]}
300− ~zod/try=> =o (mo `(list {@t *})`[['c' 3] ['d' 4] ~])
300+ > =o (mo `(list {@t *})`[['c' 3] ['d' 4] ~])
301− ~zod/try=> (~(int by m) o)
301+ > (~(int by m) o)
302 {}
302 {}
303
303
304
304
@@ -323,17 +323,17 @@ pair in the map. If the value is null, delete the key.
323
323
324XX This arm is broken, asana task 15186618346453
324XX This arm is broken, asana task 15186618346453
325
325
326− ~zod/try=> m
326+ > m
327 {[p='a' q=1] [p='b' q=2]}
327 {[p='a' q=1] [p='b' q=2]}
328− ~zod/try=> (~(mar by m) 'c' (some 3))
328+ > (~(mar by m) 'c' (some 3))
329 ! -find-limb.n
329 ! -find-limb.n
330 ! find-none
330 ! find-none
331 ! exit
331 ! exit
332− ~zod/try=> (~(mar by m) 'c' ~)
332+ > (~(mar by m) 'c' ~)
333 ! -find-limb.n
333 ! -find-limb.n
334 ! find-none
334 ! find-none
335 ! exit
335 ! exit
336− ~zod/try=> (~(mar by m) 'b' ~)
336+ > (~(mar by m) 'b' ~)
337 ! -find-limb.n
337 ! -find-limb.n
338 ! find-none
338 ! find-none
339 ! exit
339 ! exit
@@ -375,14 +375,14 @@ Produces `a` with the addition of the key-value pair of `b` and `c`.
375
375
376`c` is a value of the same type of the values in `a`.
376`c` is a value of the same type of the values in `a`.
377
377
378− ~zod/try=> m
378+ > m
379 {[p='a' q=1] [p='b' q=2]}
379 {[p='a' q=1] [p='b' q=2]}
380− ~zod/try=> (~(put by m) 'c' 3)
380+ > (~(put by m) 'c' 3)
381 {[p='a' q=1] [p='c' q=3] [p='b' q=2]}
381 {[p='a' q=1] [p='c' q=3] [p='b' q=2]}
382− ~zod/try=> (~(put by m) "zod" 26)
382+ > (~(put by m) "zod" 26)
383 ! type-fail
383 ! type-fail
384 ! exit
384 ! exit
385− ~zod/try=> (~(put by m) 'a' 2)
385+ > (~(put by m) 'a' 2)
386 {[p='a' q=2] [p='b' q=2]}
386 {[p='a' q=2] [p='b' q=2]}
387
387
388------------------------------------------------------------------------
388------------------------------------------------------------------------
@@ -437,11 +437,11 @@ Iterates over every value in set `a` using gate `b`. Produces a map.
437
437
438`b` is a wet gate.
438`b` is a wet gate.
439
439
440− ~zod/try=> m
440+ > m
441 {[p='a' q=1] [p='b' q=2]}
441 {[p='a' q=1] [p='b' q=2]}
442− ~zod/try=> ^+(m (~(run by m) dec))
442+ > ^+(m (~(run by m) dec))
443 {[p='a' q=0] [p='b' q=1]}
443 {[p='a' q=0] [p='b' q=1]}
444− ~zod/try=> `(map @tas @t)`(~(run by m) (cury scot %ux))
444+ > `(map @tas @t)`(~(run by m) (cury scot %ux))
445 {[p=%a q='0x1'] [p=%b q='0x2']}
445 {[p=%a q='0x1'] [p=%b q='0x2']}
446
446
447------------------------------------------------------------------------
447------------------------------------------------------------------------
@@ -467,11 +467,11 @@ Produces the list of all elements in map `a` that is prepended to list
467`b` is a list.
467`b` is a list.
468
468
469 {[p='a' q=1] [p='b' q=2]}
469 {[p='a' q=1] [p='b' q=2]}
470− ~zod/try=> `*`m
470+ > `*`m
471 [[98 2] [[97 1] 0 0] 0]
471 [[98 2] [[97 1] 0 0] 0]
472− ~zod/try=> (~(tap by m))
472+ > (~(tap by m))
473 ~[[p='b' q=2] [p='a' q=1]]
473 ~[[p='b' q=2] [p='a' q=1]]
474− ~zod/try=> `*`(~(tap by m))
474+ > `*`(~(tap by m))
475 [[98 2] [97 1] 0]
475 [[98 2] [97 1] 0]
476
476
477------------------------------------------------------------------------
477------------------------------------------------------------------------
@@ -507,22 +507,22 @@ shares a key with `a`, the tuple from `a` is preserved.
507
507
508`b` is a map.
508`b` is a map.
509
509
510− ~zod/try=> m
510+ > m
511 {[p='a' q=1] [p='b' q=2]}
511 {[p='a' q=1] [p='b' q=2]}
512− ~zod/try=> o
512+ > o
513 {[p='d' q=4] [p='c' q=3]}
513 {[p='d' q=4] [p='c' q=3]}
514− ~zod/try=> (~(uni by m) o)
514+ > (~(uni by m) o)
515 {[p='d' q=4] [p='a' q=1] [p='c' q=3] [p='b' q=2]}
515 {[p='d' q=4] [p='a' q=1] [p='c' q=3] [p='b' q=2]}
516− ~zod/try=> (~(uni by m) ~)
516+ > (~(uni by m) ~)
517 {[p='a' q=1] [p='b' q=2]}
517 {[p='a' q=1] [p='b' q=2]}
518− ~zod/try=> n
518+ > n
519 {[p='a' q=1] [p='c' q=9]}
519 {[p='a' q=1] [p='c' q=9]}
520− ~zod/try=> (~(uni by o) n)
520+ > (~(uni by o) n)
521 {[p='d' q=4] [p='a' q=1] [p='c' q=3]}
521 {[p='d' q=4] [p='a' q=1] [p='c' q=3]}
522− ~zod/try=> =n (mo `(list ,[@t *])`[['a' 1] ['c' 9] ~])
522+ > =n (mo `(list ,[@t *])`[['a' 1] ['c' 9] ~])
523− ~zod/try=> n
523+ > n
524 {[p='a' q=1] [p='c' q=9]}
524 {[p='a' q=1] [p='c' q=9]}
525− ~zod/try=> (~(uni by o) n)
525+ > (~(uni by o) n)
526 {[p='d' q=4] [p='a' q=1] [p='c' q=9]}
526 {[p='d' q=4] [p='a' q=1] [p='c' q=9]}
527
527
528------------------------------------------------------------------------
528------------------------------------------------------------------------
@@ -545,13 +545,13 @@ the key and the value of each element as its sample.
545`b` is a wet gate that accepts two nouns (a key and a value) and
545`b` is a wet gate that accepts two nouns (a key and a value) and
546produces a noun (the new value).
546produces a noun (the new value).
547
547
548− ~zod/try=> m
548+ > m
549 {[p='a' q=1] [p='b' q=2]}
549 {[p='a' q=1] [p='b' q=2]}
550− ~zod/try=> (~(urn by m) |=(a=[p=* q=*] q.a))
550+ > (~(urn by m) |=(a=[p=* q=*] q.a))
551 {[p='a' q=1] [p='b' q=2]}
551 {[p='a' q=1] [p='b' q=2]}
552− ~zod/try=> (~(urn by m) |=(a=[p=* q=*] 7))
552+ > (~(urn by m) |=(a=[p=* q=*] 7))
553 {[p='a' q=7] [p='b' q=7]}
553 {[p='a' q=7] [p='b' q=7]}
554− ~zod/try=> (~(urn by m) |=(a=[p=* q=*] p.a))
554+ > (~(urn by m) |=(a=[p=* q=*] p.a))
555 {[p='a' q=97] [p='b' q=98]}
555 {[p='a' q=97] [p='b' q=98]}
556
556
557------------------------------------------------------------------------
557------------------------------------------------------------------------
@@ -568,15 +568,15 @@ Produce the depth of the tree map `a`.
568
568
569`a` is a map.
569`a` is a map.
570
570
571− ~zod/try=> m
571+ > m
572 {[p='a' q=1] [p='b' q=2]}
572 {[p='a' q=1] [p='b' q=2]}
573− ~zod/try=> o
573+ > o
574 {[p='d' q=4] [p='c' q=3]}
574 {[p='d' q=4] [p='c' q=3]}
575− ~zod/try=> ~(wyt by m)
575+ > ~(wyt by m)
576 2
576 2
577− ~zod/try=> ~(wyt by o)
577+ > ~(wyt by o)
578 2
578 2
579− ~zod/try=> ~(wyt by (~(uni by m) o))
579+ > ~(wyt by (~(uni by m) o))
580 4
580 4
581
581
582
582
docs/system/hoon/library/2j.md+30−30
@@ -10,7 +10,7 @@ A container arm for `++jar` operation arms. A `++jar` is a `++map` of
10
10
11`a` is a jar.
11`a` is a jar.
12
12
13− ~zod/try=> ~(. ja (mo (limo a/"ho" b/"he" ~)))
13+ > ~(. ja (mo (limo a/"ho" b/"he" ~)))
14 <2.dgz [nlr([p={%a %b} q=""]) <414.fvk 101.jzo 1.ypj %164>]>
14 <2.dgz [nlr([p={%a %b} q=""]) <414.fvk 101.jzo 1.ypj %164>]>
15
15
16------------------------------------------------------------------------
16------------------------------------------------------------------------
@@ -31,14 +31,14 @@ Produces a list retrieved from jar `a` using the key `b`.
31
31
32`b` is a key of the same type as the keys in `a`.
32`b` is a key of the same type as the keys in `a`.
33
33
34− ~zod/try=> =l (mo `(list ,[@t (list ,@)])`[['a' `(list ,@)`[1 2 3 ~]] ['b' `(list ,@)`[4 5 6 ~]] ~])
34+ > =l (mo `(list ,[@t (list ,@)])`[['a' `(list ,@)`[1 2 3 ~]] ['b' `(list ,@)`[4 5 6 ~]] ~])
35− ~zod/try=> l
35+ > l
36 {[p='a' q=~[1 2 3]] [p='b' q=~[4 5 6]]}
36 {[p='a' q=~[1 2 3]] [p='b' q=~[4 5 6]]}
37− ~zod/try=> (~(get ja l) 'a')
37+ > (~(get ja l) 'a')
38 ~[1 2 3]
38 ~[1 2 3]
39− ~zod/try=> (~(get ja l) 'b')
39+ > (~(get ja l) 'b')
40 ~[4 5 6]
40 ~[4 5 6]
41− ~zod/try=> (~(get ja l) 'c')
41+ > (~(get ja l) 'c')
42 ~
42 ~
43
43
44------------------------------------------------------------------------
44------------------------------------------------------------------------
@@ -61,16 +61,16 @@ Produces jar `a` with value `c` prepended to the list located at key
61
61
62`c` is a value of the same type as the values in `a`.
62`c` is a value of the same type as the values in `a`.
63
63
64− ~zod/try=> =l (mo `(list ,[@t (list ,@)])`[['a' `(list ,@)`[1 2 3 ~]] ['b' `(list ,@)`[4 5 6 ~]] ~])
64+ > =l (mo `(list ,[@t (list ,@)])`[['a' `(list ,@)`[1 2 3 ~]] ['b' `(list ,@)`[4 5 6 ~]] ~])
65− ~zod/try=> l
65+ > l
66 {[p='a' q=~[1 2 3]] [p='b' q=~[4 5 6]]}
66 {[p='a' q=~[1 2 3]] [p='b' q=~[4 5 6]]}
67− ~zod/try=> (~(add ja l) 'b' 7)
67+ > (~(add ja l) 'b' 7)
68 {[p='a' q=~[1 2 3]] [p='b' q=~[7 4 5 6]]}
68 {[p='a' q=~[1 2 3]] [p='b' q=~[7 4 5 6]]}
69− ~zod/try=> (~(add ja l) 'a' 100)
69+ > (~(add ja l) 'a' 100)
70 {[p='a' q=~[100 1 2 3]] [p='b' q=~[4 5 6]]}
70 {[p='a' q=~[100 1 2 3]] [p='b' q=~[4 5 6]]}
71− ~zod/try=> (~(add ja l) 'c' 7)
71+ > (~(add ja l) 'c' 7)
72 {[p='a' q=~[1 2 3]] [p='c' q=~[7]] [p='b' q=~[4 5 6]]}
72 {[p='a' q=~[1 2 3]] [p='c' q=~[7]] [p='b' q=~[4 5 6]]}
73− ~zod/try=> (~(add ja l) 'c' `(list ,@)`[7 8 9 ~])
73+ > (~(add ja l) 'c' `(list ,@)`[7 8 9 ~])
74 ! type-fail
74 ! type-fail
75 ! exit
75 ! exit
76
76
@@ -87,7 +87,7 @@ Container arm for jug operation arms. A `++jug` is a `++map` of
87
87
88`a` is a jug.
88`a` is a jug.
89
89
90− ~zod/try=> ~(. ju (mo (limo a/(sa "ho") b/(sa "he") ~)))
90+ > ~(. ju (mo (limo a/(sa "ho") b/(sa "he") ~)))
91 <2.dgz [nlr([p={%a %b} q={nlr(^$1{@tD $1}) nlr(^$3{@tD $3})}]) <414.fvk 101.jzo 1.ypj %164>]>
91 <2.dgz [nlr([p={%a %b} q={nlr(^$1{@tD $1}) nlr(^$3{@tD $3})}]) <414.fvk 101.jzo 1.ypj %164>]>
92
92
93### `+-del:ju`
93### `+-del:ju`
@@ -114,11 +114,11 @@ Produces jug `a` with value `c` removed from set located at key `b`.
114`c` is the value of the same type of the keys in `a` that is to be
114`c` is the value of the same type of the keys in `a` that is to be
115removed.
115removed.
116
116
117− ~zod/try=> s
117+ > s
118 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
118 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
119− ~zod/try=> (~(del ju s) 'a' 1)
119+ > (~(del ju s) 'a' 1)
120 {[p='a' q={3 2}] [p='b' q={5 4 6}]}
120 {[p='a' q={3 2}] [p='b' q={5 4 6}]}
121− ~zod/try=> (~(del ju s) 'c' 7)
121+ > (~(del ju s) 'c' 7)
122 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
122 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
123
123
124------------------------------------------------------------------------
124------------------------------------------------------------------------
@@ -139,13 +139,13 @@ Produces a set retrieved from jar `a` using key `b`.
139
139
140`b` is a key of the same type as the keys in `a`.
140`b` is a key of the same type as the keys in `a`.
141
141
142− ~zod/try=> s
142+ > s
143 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
143 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
144− ~zod/try=> (~(get ju s) 'a')
144+ > (~(get ju s) 'a')
145 {1 3 2}
145 {1 3 2}
146− ~zod/try=> (~(get ju s) 'b')
146+ > (~(get ju s) 'b')
147 {5 4 6}
147 {5 4 6}
148− ~zod/try=> (~(get ju s) 'c')
148+ > (~(get ju s) 'c')
149 ~
149 ~
150
150
151------------------------------------------------------------------------
151------------------------------------------------------------------------
@@ -170,19 +170,19 @@ with jar `a`. Produces a loobean.
170
170
171`c` is a value as a noun.
171`c` is a value as a noun.
172
172
173− ~zod/try=> s
173+ > s
174 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
174 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
175− ~zod/try=> (~(has ju s) 'a' 3)
175+ > (~(has ju s) 'a' 3)
176 %.y
176 %.y
177− ~zod/try=> (~(has ju s) 'b' 6)
177+ > (~(has ju s) 'b' 6)
178 %.y
178 %.y
179− ~zod/try=> (~(has ju s) 'a' 7)
179+ > (~(has ju s) 'a' 7)
180 %.n
180 %.n
181− ~zod/try=> (~(has jus s) 'c' 7)
181+ > (~(has jus s) 'c' 7)
182 ! -find-limb.jus
182 ! -find-limb.jus
183 ! find-none
183 ! find-none
184 ! exit
184 ! exit
185− ~zod/try=> (~(has ju s) 'c' 7)
185+ > (~(has ju s) 'c' 7)
186 %.n
186 %.n
187
187
188------------------------------------------------------------------------
188------------------------------------------------------------------------
@@ -205,13 +205,13 @@ Produces jar `a` with `c` added to the set value located at key `b`.
205
205
206`c` is a value.
206`c` is a value.
207
207
208− ~zod/try=> s
208+ > s
209 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
209 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
210− ~zod/try=> (~(put ju s) 'a' 7)
210+ > (~(put ju s) 'a' 7)
211 {[p='a' q={7 1 3 2}] [p='b' q={5 4 6}]}
211 {[p='a' q={7 1 3 2}] [p='b' q={5 4 6}]}
212− ~zod/try=> (~(put ju s) 'a' 1)
212+ > (~(put ju s) 'a' 1)
213 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
213 {[p='a' q={1 3 2}] [p='b' q={5 4 6}]}
214− ~zod/try=> (~(put ju s) 'c' 7)
214+ > (~(put ju s) 'c' 7)
215 {[p='a' q={1 3 2}] [p='c' q={7}] [p='b' q={5 4 6}]}
215 {[p='a' q={1 3 2}] [p='c' q={7}] [p='b' q={5 4 6}]}
216
216
217
217
docs/system/hoon/library/2k.md+32−32
@@ -50,13 +50,13 @@ Source
50Examples
50Examples
51--------
51--------
52
52
53− ~zod/try=> `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~]
53+ > `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~]
54 {"a" "b" "c" "d" "e" "f" "g"}
54 {"a" "b" "c" "d" "e" "f" "g"}
55− ~zod/try=> `*`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~]
55+ > `*`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~]
56 [[97 0] 0 [98 0] 0 [99 0] 0 [100 0] 0 [101 0] 0 [102 0] 0 [103 0] 0 0]
56 [[97 0] 0 [98 0] 0 [99 0] 0 [100 0] 0 [101 0] 0 [102 0] 0 [103 0] 0 0]
57− ~zod/try=> ~(bal to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~])
57+ > ~(bal to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~])
58 {"a" "b" "c" "d" "e" "f" "g"}
58 {"a" "b" "c" "d" "e" "f" "g"}
59− ~zod/try=> `*`~(bal to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~])
59+ > `*`~(bal to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~])
60 [[100 0] [[99 0] [[98 0] [[97 0] 0 0] 0] 0] [101 0] 0 [102 0] 0 [103 0] 0 0]
60 [[100 0] [[99 0] [[98 0] [[97 0] 0 0] 0] 0] [101 0] 0 [102 0] 0 [103 0] 0 0]
61
61
62------------------------------------------------------------------------
62------------------------------------------------------------------------
@@ -90,18 +90,18 @@ Source
90Examples
90Examples
91--------
91--------
92
92
93− ~zod/try=> =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 5 6 7 ~])
93+ > =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 5 6 7 ~])
94− ~zod/try=> ~(dep to a)
94+ > ~(dep to a)
95 4
95 4
96− ~zod/try=> =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 ~])
96+ > =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 ~])
97− ~zod/try=> ~(dep to a)
97+ > ~(dep to a)
98 3
98 3
99− ~zod/try=> =a (~(gas to `(qeu @)`~) `(list @)`[1 2 ~])
99+ > =a (~(gas to `(qeu @)`~) `(list @)`[1 2 ~])
100− ~zod/try=> ~(dep to a)
100+ > ~(dep to a)
101 2
101 2
102− ~zod/try=> ~(dep to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~])
102+ > ~(dep to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~])
103 7
103 7
104− ~zod/try=> ~(dep to ~(bal to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~]))
104+ > ~(dep to ~(bal to `(qeu tape)`["a" ~ "b" ~ "c" ~ "d" ~ "e" ~ "f" ~ "g" ~ ~]))
105 4
105 4
106
106
107------------------------------------------------------------------------
107------------------------------------------------------------------------
@@ -136,11 +136,11 @@ Source
136Examples
136Examples
137--------
137--------
138
138
139− ~zod/try=> (~(gas to `(qeu ,@)`~) `(list ,@)`[1 2 3 ~])
139+ > (~(gas to `(qeu ,@)`~) `(list ,@)`[1 2 3 ~])
140 {3 2 1}
140 {3 2 1}
141− ~zod/try=> =a (~(gas to `(qeu ,@)`~) `(list ,@)`[1 2 3 ~])
141+ > =a (~(gas to `(qeu ,@)`~) `(list ,@)`[1 2 3 ~])
142− ~zod/try=> =b `(list ,@)`[4 5 6 ~]
142+ > =b `(list ,@)`[4 5 6 ~]
143− ~zod/try=> (~(gas to a) b)
143+ > (~(gas to a) b)
144 {6 5 4 3 2 1}
144 {6 5 4 3 2 1}
145
145
146------------------------------------------------------------------------
146------------------------------------------------------------------------
@@ -180,10 +180,10 @@ Source
180Examples
180Examples
181--------
181--------
182
182
183− ~zod/try=> =s (~(gas to *(qeu @)) `(list @)`~[1 2 3])
183+ > =s (~(gas to *(qeu @)) `(list @)`~[1 2 3])
184− ~zod/try=> ~(get to s)
184+ > ~(get to s)
185 [p=1 q={3 2}]
185 [p=1 q={3 2}]
186− ~zod/try=> ~(get to ~)
186+ > ~(get to ~)
187 ! exit
187 ! exit
188
188
189------------------------------------------------------------------------
189------------------------------------------------------------------------
@@ -217,15 +217,15 @@ Source
217Examples
217Examples
218--------
218--------
219
219
220− ~zod/try=> =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 5 6 ~])
220+ > =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 5 6 ~])
221− ~zod/try=> -.a
221+ > -.a
222 n=6
222 n=6
223− ~zod/try=> =b ~(nap to a)
223+ > =b ~(nap to a)
224− ~zod/try=> -.b
224+ > -.b
225 n=2
225 n=2
226− ~zod/try=> b
226+ > b
227 {5 4 3 2 1}
227 {5 4 3 2 1}
228− ~zod/try=> a
228+ > a
229 {6 5 4 3 2 1}
229 {6 5 4 3 2 1}
230
230
231------------------------------------------------------------------------
231------------------------------------------------------------------------
@@ -264,8 +264,8 @@ Source
264Examples
264Examples
265--------
265--------
266
266
267− ~zod/try=> (~(gas to `(qeu @)`~) `(list @)`[3 1 2 4 5 6 ~])
267+ > (~(gas to `(qeu @)`~) `(list @)`[3 1 2 4 5 6 ~])
268− ~zod/try=> (~(put to a) 7)
268+ > (~(put to a) 7)
269 {7 6 5 4 2 1 3}
269 {7 6 5 4 2 1 3}
270
270
271------------------------------------------------------------------------
271------------------------------------------------------------------------
@@ -296,10 +296,10 @@ Source
296Examples
296Examples
297--------
297--------
298
298
299− ~zod/try=> =a (~(gas to `(qeu @)`~) `(list @)`[3 1 2 4 5 6 ~])
299+ > =a (~(gas to `(qeu @)`~) `(list @)`[3 1 2 4 5 6 ~])
300− ~zod/try=> `*`a
300+ > `*`a
301 [6 0 2 [4 [5 0 0] 0] 1 0 3 0 0]
301 [6 0 2 [4 [5 0 0] 0] 1 0 3 0 0]
302− ~zod/try=> (~(tap to a) `(list @)`[99 100 101 ~])
302+ > (~(tap to a) `(list @)`[99 100 101 ~])
303 ~[3 1 2 4 5 6 99 100 101]
303 ~[3 1 2 4 5 6 99 100 101]
304
304
305------------------------------------------------------------------------
305------------------------------------------------------------------------
@@ -329,8 +329,8 @@ Source
329Examples
329Examples
330--------
330--------
331
331
332− ~zod/try=> =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 5 6 ~])
332+ > =a (~(gas to `(qeu @)`~) `(list @)`[1 2 3 4 5 6 ~])
333− ~zod/try=> ~(top to a)
333+ > ~(top to a)
334 [~ 1]
334 [~ 1]
335
335
336
336
docs/system/hoon/library/2n.md+20−20
@@ -16,12 +16,12 @@ Source
16Examples
16Examples
17--------
17--------
18
18
19− ~zod/try=> (:(cork dec dec dec) 20)
19+ > (:(cork dec dec dec) 20)
20 17
20 17
21− ~zod/try=> =mal (mo (limo a+15 b+23 ~))
21+ > =mal (mo (limo a+15 b+23 ~))
22− ~zod/try=> ((cork ~(got by mal) dec) %a)
22+ > ((cork ~(got by mal) dec) %a)
23 14
23 14
24− ~zod/try=> ((cork ~(got by mal) dec) %b)
24+ > ((cork ~(got by mal) dec) %b)
25 22
25 22
26
26
27
27
@@ -50,7 +50,7 @@ Source
50Examples
50Examples
51--------
51--------
52
52
53− ~zod/try=> ((corl (lift bex) (slat %ud)) '2')
53+ > ((corl (lift bex) (slat %ud)) '2')
54 [~ 4]
54 [~ 4]
55
55
56
56
@@ -85,10 +85,10 @@ Source
85Examples
85Examples
86--------
86--------
87
87
88− ~zod/try=> =tep (curr scan sym)
88+ > =tep (curr scan sym)
89− ~zod/try=> `@t`(tep "asd")
89+ > `@t`(tep "asd")
90 'asd'
90 'asd'
91− ~zod/try=> `@t`(tep "lek-om")
91+ > `@t`(tep "lek-om")
92 'lek-om'
92 'lek-om'
93
93
94
94
@@ -123,10 +123,10 @@ Source
123Examples
123Examples
124--------
124--------
125
125
126− ~zod/try=> =mol (cury add 2)
126+ > =mol (cury add 2)
127− ~zod/try=> (mol 4)
127+ > (mol 4)
128 6
128 6
129− ~zod/try=> (mol 7)
129+ > (mol 7)
130 9
130 9
131
131
132
132
@@ -149,13 +149,13 @@ Source
149Examples
149Examples
150--------
150--------
151
151
152− ~zod/try=> ((hard (list)) (limo [1 2 3 ~]))
152+ > ((hard (list)) (limo [1 2 3 ~]))
153 ~[1 2 3]
153 ~[1 2 3]
154− ~zod/try=> ((hard @) (add 2 2))
154+ > ((hard @) (add 2 2))
155 4
155 4
156− ~zod/try=> ((hard @t) (crip "Tape to cord, bro!"))
156+ > ((hard @t) (crip "Tape to cord, bro!"))
157 'Tape to cord, bro'
157 'Tape to cord, bro'
158− ~zod/try=> ((hard tape) (crip "...Tape to cord, bro?..."))
158+ > ((hard tape) (crip "...Tape to cord, bro?..."))
159 ! hard
159 ! hard
160 ! exit
160 ! exit
161
161
@@ -180,15 +180,15 @@ Source
180Examples
180Examples
181--------
181--------
182
182
183− ~zod/try=> ((soft %4) (add 2 2))
183+ > ((soft %4) (add 2 2))
184 [~ %4]
184 [~ %4]
185− ~zod/try=> ((soft @) (add 2 2))
185+ > ((soft @) (add 2 2))
186 [~ 4]
186 [~ 4]
187− ~zod/try=> ((soft %5) (add 2 2))
187+ > ((soft %5) (add 2 2))
188 ~
188 ~
189− ~zod/try=> ((soft @t) (crip "Tape to cord, Woohoo!"))
189+ > ((soft @t) (crip "Tape to cord, Woohoo!"))
190 [~ 'Tape to cord, Woohoo!']
190 [~ 'Tape to cord, Woohoo!']
191− ~zod/try=> ((soft @t) (trip 'Cmon man... Tape to cord? Please?!'))
191+ > ((soft @t) (trip 'Cmon man... Tape to cord? Please?!'))
192 ~
192 ~
193
193
194
194
docs/system/hoon/library/2o.md+23−23
@@ -15,18 +15,18 @@ Examples
15
15
16See also: `++ja`, `++by`, `++map`, `++list`
16See also: `++ja`, `++by`, `++map`, `++list`
17
17
18− ~zod/try=> =a (limo [1 2 ~])
18+ > =a (limo [1 2 ~])
19− ~zod/try=> a
19+ > a
20 [i=1 t=[i=2 t=~]]
20 [i=1 t=[i=2 t=~]]
21− ~zod/try=> =b (limo [3 4 ~])
21+ > =b (limo [3 4 ~])
22− ~zod/try=> b
22+ > b
23 [i=3 t=[i=4 t=~]]
23 [i=3 t=[i=4 t=~]]
24− ~zod/try=> =c (mo (limo [[%a a] [%b b] ~]))
24+ > =c (mo (limo [[%a a] [%b b] ~]))
25− ~zod/try=> c
25+ > c
26 {[p=%a q=[i=1 t=[i=2 t=~]]] [p=%b q=[i=3 t=[i=4 t=~]]]}
26 {[p=%a q=[i=1 t=[i=2 t=~]]] [p=%b q=[i=3 t=[i=4 t=~]]]}
27− ~zod/try=> (~(get ja c) %a)
27+ > (~(get ja c) %a)
28 [i=1 t=[i=2 t=~]]
28 [i=1 t=[i=2 t=~]]
29− ~zod/try=> (~(get ja c) %c)
29+ > (~(get ja c) %c)
30 ~
30 ~
31
31
32
32
@@ -47,18 +47,18 @@ Examples
47
47
48See also: `++ju`, `++by`, `++map`, `++set`
48See also: `++ju`, `++by`, `++map`, `++set`
49
49
50− ~zod/try=> =a (sa (limo [1 2 ~]))
50+ > =a (sa (limo [1 2 ~]))
51− ~zod/try=> a
51+ > a
52 {1 2}
52 {1 2}
53− ~zod/try=> =b (sa (limo [3 4 ~]))
53+ > =b (sa (limo [3 4 ~]))
54− ~zod/try=> b
54+ > b
55 {4 3}
55 {4 3}
56− ~zod/try=> =c (mo (limo [[%a a] [%b b] ~]))
56+ > =c (mo (limo [[%a a] [%b b] ~]))
57− ~zod/try=> c
57+ > c
58 {[p=%a q={1 2}] [p=%b q={4 3}]}
58 {[p=%a q={1 2}] [p=%b q={4 3}]}
59− ~zod/try=> (~(get ju c) %b)
59+ > (~(get ju c) %b)
60 {4 3}
60 {4 3}
61− ~zod/try=> (~(put ju c) [%b 5])
61+ > (~(put ju c) [%b 5])
62 {[p=%a q={1 2}] [p=%b q={5 4 3}]}
62 {[p=%a q={1 2}] [p=%b q={5 4 3}]}
63
63
64
64
@@ -83,10 +83,10 @@ Examples
83
83
84See also: `++by`
84See also: `++by`
85
85
86− ~zod/try=>? *(map @t @u)
86+ >? *(map @t @u)
87 nlr({p/@t q/@u})
87 nlr({p/@t q/@u})
88 {}
88 {}
89− ~zod/try=> (molt `(list (pair * *))`[[a+1 b+2] ~])
89+ > (molt `(list (pair * *))`[[a+1 b+2] ~])
90 {[p=[97 1] q=[98 2]]}
90 {[p=[97 1] q=[98 2]]}
91
91
92
92
@@ -108,9 +108,9 @@ Source
108Examples
108Examples
109--------
109--------
110
110
111− ~zod/try=> (qeu time)
111+ > (qeu time)
112 <1.qyo [* <1.sxx [a=<1.ebd [* <101.jzo 1.ypj %164>]> <101.jzo 1.ypj %164>]>]>
112 <1.qyo [* <1.sxx [a=<1.ebd [* <101.jzo 1.ypj %164>]> <101.jzo 1.ypj %164>]>]>
113− ~zod/try=> (~(gas to *(qeu time)) [~2014.1.1 ~2014.1.2 ~])
113+ > (~(gas to *(qeu time)) [~2014.1.1 ~2014.1.2 ~])
114 {~2014.1.2 ~2014.1.1}
114 {~2014.1.2 ~2014.1.1}
115
115
116
116
@@ -134,11 +134,11 @@ Examples
134
134
135See also: `++in`
135See also: `++in`
136
136
137− ~zod/try=> (sa "abc")
137+ > (sa "abc")
138 {~~a ~~c ~~b}
138 {~~a ~~c ~~b}
139− ~zod/try=> (~(put in (sa "abc")) %d)
139+ > (~(put in (sa "abc")) %d)
140 {~~d ~~a ~~c ~~b}
140 {~~d ~~a ~~c ~~b}
141− ~zod/try=> (~(put in (sa "abc")) %a)
141+ > (~(put in (sa "abc")) %a)
142 {~~a ~~c ~~b}
142 {~~a ~~c ~~b}
143
143
144
144
docs/system/hoon/library/2p.md+19−19
@@ -43,13 +43,13 @@ Source
43Examples
43Examples
44--------
44--------
45
45
46− ~zod/try=> (cue 12)
46+ > (cue 12)
47 1
47 1
48− ~zod/try=> (cue 817)
48+ > (cue 817)
49 [1 1]
49 [1 1]
50− ~zod/try=> (cue 4.657)
50+ > (cue 4.657)
51 [1 2]
51 [1 2]
52− ~zod/try=> (cue 39.689)
52+ > (cue 39.689)
53 [0 19]
53 [0 19]
54
54
55
55
@@ -102,13 +102,13 @@ Source
102Examples
102Examples
103--------
103--------
104
104
105− ~zod/try=> (jam 1)
105+ > (jam 1)
106 12
106 12
107− ~zod/try=> (jam [1 1])
107+ > (jam [1 1])
108 817
108 817
109− ~zod/try=> (jam [1 2])
109+ > (jam [1 2])
110 4.657
110 4.657
111− ~zod/try=> (jam [~ u=19])
111+ > (jam [~ u=19])
112 39.689
112 39.689
113
113
114
114
@@ -151,21 +151,21 @@ Source
151Examples
151Examples
152--------
152--------
153
153
154− ~zod/try=> (mat 0xaaa)
154+ > (mat 0xaaa)
155 [p=20 q=699.024]
155 [p=20 q=699.024]
156− ~zod/try=> (met 0 q:(mat 0xaaa))
156+ > (met 0 q:(mat 0xaaa))
157 20
157 20
158− ~zod/try=> `@ub`q:(mat 0xaaa)
158+ > `@ub`q:(mat 0xaaa)
159 0b1010.1010.1010.1001.0000
159 0b1010.1010.1010.1001.0000
160− ~zod/try=> =a =-(~&(- -) `@ub`0xaaa)
160+ > =a =-(~&(- -) `@ub`0xaaa)
161 0b1010.1010.1010
161 0b1010.1010.1010
162− ~zod/try=> =b =-(~&(- -) `@ub`(xeb a))
162+ > =b =-(~&(- -) `@ub`(xeb a))
163 0b1100
163 0b1100
164− ~zod/try=> =b =-(~&(- -) `@ub`(met 0 a))
164+ > =b =-(~&(- -) `@ub`(met 0 a))
165 0b1100
165 0b1100
166− ~zod/try=> =c =-(~&(- -) (xeb b))
166+ > =c =-(~&(- -) (xeb b))
167 4
167 4
168− ~zod/try=> [`@ub`a `@ub`(end 0 (dec c) b) `@ub`(bex c)]
168+ > [`@ub`a `@ub`(end 0 (dec c) b) `@ub`(bex c)]
169 [0b1010.1010.1010 0b100 0b1.0000]
169 [0b1010.1010.1010 0b100 0b1.0000]
170
170
171
171
@@ -215,11 +215,11 @@ Source
215Examples
215Examples
216--------
216--------
217
217
218− ~zod/try=> `@ub`(jam 0xaaa)
218+ > `@ub`(jam 0xaaa)
219 0b1.0101.0101.0101.0010.0000
219 0b1.0101.0101.0101.0010.0000
220− ~zod/try=> (rub 1 0b1.0101.0101.0101.0010.0000)
220+ > (rub 1 0b1.0101.0101.0101.0010.0000)
221 [p=20 q=2.730]
221 [p=20 q=2.730]
222− ~zod/try=> `@ux`q:(rub 1 0b1.0101.0101.0101.0010.0000)
222+ > `@ux`q:(rub 1 0b1.0101.0101.0101.0010.0000)
223 0xaaa
223 0xaaa
224
224
225***
225***
docs/system/hoon/library/2q.md+20−20
@@ -15,7 +15,7 @@ Source
15Examples
15Examples
16--------
16--------
17
17
18− ~zod/try=> *char
18+ > *char
19 ''
19 ''
20 ~zod/try> (char 97)
20 ~zod/try> (char 97)
21 'a'
21 'a'
@@ -42,12 +42,12 @@ Examples
42Odor `@t` designates a Unicode atom, little-endian: the first character
42Odor `@t` designates a Unicode atom, little-endian: the first character
43in the text is the low byte.
43in the text is the low byte.
44
44
45− ~zod/try=> `@ux`'foobar'
45+ > `@ux`'foobar'
46 0x7261.626f.6f66
46 0x7261.626f.6f66
47
47
48− ~zod/try=> `@`'urbit'
48+ > `@`'urbit'
49 499.984.265.845
49 499.984.265.845
50− ~zod/try=> (cord 499.984.265.845)
50+ > (cord 499.984.265.845)
51 'urbit'
51 'urbit'
52
52
53
53
@@ -71,7 +71,7 @@ Examples
71
71
72See also: `++year`, `++yore` `++stud`, `++dust`
72See also: `++year`, `++yore` `++stud`, `++dust`
73
73
74− ~zod/try=> `date`(yore ~2014.6.6..21.09.15..0a16)
74+ > `date`(yore ~2014.6.6..21.09.15..0a16)
75 [[a=%.y y=2.014] m=6 t=[d=6 h=21 m=9 s=15 f=~[0xa16]]]
75 [[a=%.y y=2.014] m=6 t=[d=6 h=21 m=9 s=15 f=~[0xa16]]]
76
76
77
77
@@ -111,14 +111,14 @@ Source
111Examples
111Examples
112--------
112--------
113
113
114− ~zod/try=> >(bex 20) (bex 19)<
114+ > >(bex 20) (bex 19)<
115 [%rose p=[p=" " q="[" r="]"] q=~[[%leaf p="1.048.576"] [%leaf p="524.288"]]]
115 [%rose p=[p=" " q="[" r="]"] q=~[[%leaf p="1.048.576"] [%leaf p="524.288"]]]
116− ~zod/try=> (wash [0 80] >(bex 20) (bex 19)<) :: at 80 cols
116+ > (wash [0 80] >(bex 20) (bex 19)<) :: at 80 cols
117 <<"[1.048.576 524.288]">>
117 <<"[1.048.576 524.288]">>
118− ~zod/try=> (wash [0 15] >(bex 20) (bex 19)<) :: at 15 cols (two lines)
118+ > (wash [0 15] >(bex 20) (bex 19)<) :: at 15 cols (two lines)
119 <<"[ 1.048.576" " 524.288" "]">>
119 <<"[ 1.048.576" " 524.288" "]">>
120
120
121− ~zod/try=> [(bex 150) (bex 151)] :: at 80 cols
121+ > [(bex 150) (bex 151)] :: at 80 cols
122 [ 1.427.247.692.705.959.881.058.285.969.449.495.136.382.746.624
122 [ 1.427.247.692.705.959.881.058.285.969.449.495.136.382.746.624
123 2.854.495.385.411.919.762.116.571.938.898.990.272.765.493.248
123 2.854.495.385.411.919.762.116.571.938.898.990.272.765.493.248
124 ]
124 ]
@@ -142,9 +142,9 @@ Source
142Examples
142Examples
143--------
143--------
144
144
145− ~zod/try=> `(list ,char)`"foobar"
145+ > `(list ,char)`"foobar"
146 "foobar"
146 "foobar"
147− ~zod/try=> `(list ,@)`"foobar"
147+ > `(list ,@)`"foobar"
148 ~[102 111 111 98 97 114]
148 ~[102 111 111 98 97 114]
149
149
150
150
@@ -166,13 +166,13 @@ Examples
166--------
166--------
167
167
168
168
169− ~zod/try=> -<-
169+ > -<-
170 ~2014.9.20..00.43.33..b52a
170 ~2014.9.20..00.43.33..b52a
171− ~zod/try=> :: the time is always in your context at -<-
171+ > :: the time is always in your context at -<-
172− ~zod/try=> (yell -<-)
172+ > (yell -<-)
173 [d=106.751.991.820.278 h=0 m=43 s=39 f=~[0x54d1]]
173 [d=106.751.991.820.278 h=0 m=43 s=39 f=~[0x54d1]]
174
174
175− ~zod/try=> (yell ~d20)
175+ > (yell ~d20)
176 [d=20 h=0 m=0 s=0 f=~]
176 [d=20 h=0 m=0 s=0 f=~]
177
177
178
178
@@ -197,12 +197,12 @@ Source
197Examples
197Examples
198--------
198--------
199
199
200− ~zod/try=> *term
200+ > *term
201 %$
201 %$
202
202
203− ~zod/try=> %dead-fish9
203+ > %dead-fish9
204 %dead-fish9
204 %dead-fish9
205− ~zod/try=> -:!>(%dead-fish9)
205+ > -:!>(%dead-fish9)
206 [%cube p=271.101.667.197.767.630.546.276 q=[%atom p=%tas]]
206 [%cube p=271.101.667.197.767.630.546.276 q=[%atom p=%tas]]
207
207
208
208
@@ -217,7 +217,7 @@ A list of lines. A `++wain` is used instead of a single `++cord` with
217
217
218See also: `++lore`, `++role`
218See also: `++lore`, `++role`
219
219
220− ~zod/try=> `wain`/som/del/rok
220+ > `wain`/som/del/rok
221 <|som del rok|>
221 <|som del rok|>
222
222
223
223
@@ -240,7 +240,7 @@ Examples
240
240
241See also: `++wash`
241See also: `++wash`
242
242
243− ~zod/try=> `wall`(wash [0 20] leaf+<(bex 256)>)
243+ > `wall`(wash [0 20] leaf+<(bex 256)>)
244 <<
244 <<
245 "115.792.089.237.316.195.423.570.985.008.687.907.853.269.984.665.640.564.039.457.584.007.913.129.639.936"
245 "115.792.089.237.316.195.423.570.985.008.687.907.853.269.984.665.640.564.039.457.584.007.913.129.639.936"
246 >>
246 >>
docs/system/hoon/library/3a.md+123−123
@@ -42,21 +42,21 @@ Source
42Examples
42Examples
43--------
43--------
44
44
45− ~zod/try=> (~(dif fe 3) 63 64)
45+ > (~(dif fe 3) 63 64)
46 255
46 255
47− ~zod/try=> (~(dif fe 3) 5 10)
47+ > (~(dif fe 3) 5 10)
48 251
48 251
49− ~zod/try=> (~(dif fe 3) 0 1)
49+ > (~(dif fe 3) 0 1)
50 255
50 255
51− ~zod/try=> (~(dif fe 0) 9 10)
51+ > (~(dif fe 0) 9 10)
52 1
52 1
53− ~zod/try=> (~(dif fe 0) 9 11)
53+ > (~(dif fe 0) 9 11)
54 0
54 0
55− ~zod/try=> (~(dif fe 0) 9 12)
55+ > (~(dif fe 0) 9 12)
56 1
56 1
57− ~zod/try=> (~(dif fe 2) 9 12)
57+ > (~(dif fe 2) 9 12)
58 13
58 13
59− ~zod/try=> (~(dif fe 2) 63 64)
59+ > (~(dif fe 2) 63 64)
60 15
60 15
61
61
62------------------------------------------------------------------------
62------------------------------------------------------------------------
@@ -86,17 +86,17 @@ Source
86Examples
86Examples
87--------
87--------
88
88
89− ~zod/try=> (~(inv fe 3) 255)
89+ > (~(inv fe 3) 255)
90 0
90 0
91− ~zod/try=> (~(inv fe 3) 256)
91+ > (~(inv fe 3) 256)
92 255
92 255
93− ~zod/try=> (~(inv fe 3) 0)
93+ > (~(inv fe 3) 0)
94 255
94 255
95− ~zod/try=> (~(inv fe 3) 1)
95+ > (~(inv fe 3) 1)
96 254
96 254
97− ~zod/try=> (~(inv fe 3) 2)
97+ > (~(inv fe 3) 2)
98 253
98 253
99− ~zod/try=> (~(inv fe 3) 55)
99+ > (~(inv fe 3) 55)
100 200
100 200
101
101
102------------------------------------------------------------------------
102------------------------------------------------------------------------
@@ -132,51 +132,51 @@ Source
132Examples
132Examples
133--------
133--------
134
134
135− ~zod/try=> (~(net fe 3) 64)
135+ > (~(net fe 3) 64)
136 64
136 64
137− ~zod/try=> (~(net fe 3) 128)
137+ > (~(net fe 3) 128)
138 128
138 128
139− ~zod/try=> (~(net fe 3) 255)
139+ > (~(net fe 3) 255)
140 255
140 255
141− ~zod/try=> (~(net fe 3) 256)
141+ > (~(net fe 3) 256)
142 0
142 0
143− ~zod/try=> (~(net fe 3) 257)
143+ > (~(net fe 3) 257)
144 1
144 1
145− ~zod/try=> (~(net fe 3) 500)
145+ > (~(net fe 3) 500)
146 244
146 244
147− ~zod/try=> (~(net fe 3) 511)
147+ > (~(net fe 3) 511)
148 255
148 255
149− ~zod/try=> (~(net fe 3) 512)
149+ > (~(net fe 3) 512)
150 0
150 0
151− ~zod/try=> (~(net fe 3) 513)
151+ > (~(net fe 3) 513)
152 1
152 1
153− ~zod/try=> (~(net fe 3) 0)
153+ > (~(net fe 3) 0)
154 0
154 0
155− ~zod/try=> (~(net fe 3) 1)
155+ > (~(net fe 3) 1)
156 1
156 1
157− ~zod/try=> (~(net fe 0) 1)
157+ > (~(net fe 0) 1)
158 1
158 1
159− ~zod/try=> (~(net fe 0) 2)
159+ > (~(net fe 0) 2)
160 0
160 0
161− ~zod/try=> (~(net fe 0) 3)
161+ > (~(net fe 0) 3)
162 1
162 1
163− ~zod/try=> (~(net fe 6) 1)
163+ > (~(net fe 6) 1)
164 72.057.594.037.927.936
164 72.057.594.037.927.936
165− ~zod/try=> (~(net fe 6) 2)
165+ > (~(net fe 6) 2)
166 144.115.188.075.855.872
166 144.115.188.075.855.872
167− ~zod/try=> (~(net fe 6) 3)
167+ > (~(net fe 6) 3)
168 216.172.782.113.783.808
168 216.172.782.113.783.808
169− ~zod/try=> (~(net fe 6) 4)
169+ > (~(net fe 6) 4)
170 288.230.376.151.711.744
170 288.230.376.151.711.744
171− ~zod/try=> (~(net fe 6) 5)
171+ > (~(net fe 6) 5)
172 360.287.970.189.639.680
172 360.287.970.189.639.680
173− ~zod/try=> (~(net fe 6) 6)
173+ > (~(net fe 6) 6)
174 432.345.564.227.567.616
174 432.345.564.227.567.616
175− ~zod/try=> (~(net fe 6) 7)
175+ > (~(net fe 6) 7)
176 504.403.158.265.495.552
176 504.403.158.265.495.552
177− ~zod/try=> (~(net fe 6) 512)
177+ > (~(net fe 6) 512)
178 562.949.953.421.312
178 562.949.953.421.312
179− ~zod/try=> (~(net fe 6) 513)
179+ > (~(net fe 6) 513)
180 72.620.543.991.349.248
180 72.620.543.991.349.248
181
181
182------------------------------------------------------------------------
182------------------------------------------------------------------------
@@ -205,17 +205,17 @@ Source
205Examples
205Examples
206--------
206--------
207
207
208− ~zod/try=> ~(out fe 0)
208+ > ~(out fe 0)
209 2
209 2
210− ~zod/try=> ~(out fe 1)
210+ > ~(out fe 1)
211 4
211 4
212− ~zod/try=> ~(out fe 2)
212+ > ~(out fe 2)
213 16
213 16
214− ~zod/try=> ~(out fe 3)
214+ > ~(out fe 3)
215 256
215 256
216− ~zod/try=> ~(out fe 4)
216+ > ~(out fe 4)
217 65.536
217 65.536
218− ~zod/try=> ~(out fe 10)
218+ > ~(out fe 10)
219 \/179.769.313.486.231.590.772.930.519.078.902.473.361.797.697.894.230.657.\/
219 \/179.769.313.486.231.590.772.930.519.078.902.473.361.797.697.894.230.657.\/
220 273.430.081.157.732.675.805.500.963.132.708.477.322.407.536.021.120.113.
220 273.430.081.157.732.675.805.500.963.132.708.477.322.407.536.021.120.113.
221 879.871.393.357.658.789.768.814.416.622.492.847.430.639.474.124.377.767.
221 879.871.393.357.658.789.768.814.416.622.492.847.430.639.474.124.377.767.
@@ -260,15 +260,15 @@ Source
260Examples
260Examples
261--------
261--------
262
262
263− ~zod/try=> `@ux`(~(rol fe 6) 4 3 0xabac.dedf.1213)
263+ > `@ux`(~(rol fe 6) 4 3 0xabac.dedf.1213)
264 0x1213.0000.abac.dedf
264 0x1213.0000.abac.dedf
265− ~zod/try=> `@ux`(~(rol fe 6) 4 2 0xabac.dedf.1213)
265+ > `@ux`(~(rol fe 6) 4 2 0xabac.dedf.1213)
266 0xdedf.1213.0000.abac
266 0xdedf.1213.0000.abac
267− ~zod/try=> `@t`(~(rol fe 5) 3 1 'dfgh')
267+ > `@t`(~(rol fe 5) 3 1 'dfgh')
268 'hdfg'
268 'hdfg'
269− ~zod/try=> `@t`(~(rol fe 5) 3 2 'dfgh')
269+ > `@t`(~(rol fe 5) 3 2 'dfgh')
270 'ghdf'
270 'ghdf'
271− ~zod/try=> `@t`(~(rol fe 5) 3 0 'dfgh')
271+ > `@t`(~(rol fe 5) 3 0 'dfgh')
272 'dfgh'
272 'dfgh'
273
273
274------------------------------------------------------------------------
274------------------------------------------------------------------------
@@ -308,17 +308,17 @@ Source
308Examples
308Examples
309--------
309--------
310
310
311− ~zod/try=> `@ux`(~(ror fe 6) 4 1 0xabac.dedf.1213)
311+ > `@ux`(~(ror fe 6) 4 1 0xabac.dedf.1213)
312 0x1213.0000.abac.dedf
312 0x1213.0000.abac.dedf
313− ~zod/try=> `@ux`(~(ror fe 6) 3 5 0xabac.dedf.1213)
313+ > `@ux`(~(ror fe 6) 3 5 0xabac.dedf.1213)
314 0xacde.df12.1300.00ab
314 0xacde.df12.1300.00ab
315− ~zod/try=> `@ux`(~(ror fe 6) 3 3 0xabac.dedf.1213)
315+ > `@ux`(~(ror fe 6) 3 3 0xabac.dedf.1213)
316 0xdf12.1300.00ab.acde
316 0xdf12.1300.00ab.acde
317− ~zod/try=> `@t`(~(rol fe 5) 3 0 'hijk')
317+ > `@t`(~(rol fe 5) 3 0 'hijk')
318 'hijk'
318 'hijk'
319− ~zod/try=> `@t`(~(rol fe 5) 3 1 'hijk')
319+ > `@t`(~(rol fe 5) 3 1 'hijk')
320 'khij'
320 'khij'
321− ~zod/try=> `@t`(~(rol fe 5) 3 2 'hijk')
321+ > `@t`(~(rol fe 5) 3 2 'hijk')
322 'jkhi'
322 'jkhi'
323
323
324------------------------------------------------------------------------
324------------------------------------------------------------------------
@@ -351,19 +351,19 @@ Source
351Examples
351Examples
352--------
352--------
353
353
354− ~zod/try=> (~(sum fe 3) 10 250)
354+ > (~(sum fe 3) 10 250)
355 4
355 4
356− ~zod/try=> (~(sum fe 0) 0 1)
356+ > (~(sum fe 0) 0 1)
357 1
357 1
358− ~zod/try=> (~(sum fe 0) 0 2)
358+ > (~(sum fe 0) 0 2)
359 0
359 0
360− ~zod/try=> (~(sum fe 2) 14 2)
360+ > (~(sum fe 2) 14 2)
361 0
361 0
362− ~zod/try=> (~(sum fe 2) 14 3)
362+ > (~(sum fe 2) 14 3)
363 1
363 1
364− ~zod/try=> (~(sum fe 4) 10.000 256)
364+ > (~(sum fe 4) 10.000 256)
365 10.256
365 10.256
366− ~zod/try=> (~(sum fe 4) 10.000 100.000)
366+ > (~(sum fe 4) 10.000 100.000)
367 44.464
367 44.464
368
368
369### `++sit`
369### `++sit`
@@ -392,27 +392,27 @@ Source
392Examples
392Examples
393--------
393--------
394
394
395− ~zod/try=> (~(sit fe 3) 255)
395+ > (~(sit fe 3) 255)
396 255
396 255
397− ~zod/try=> (~(sit fe 3) 256)
397+ > (~(sit fe 3) 256)
398 0
398 0
399− ~zod/try=> (~(sit fe 3) 257)
399+ > (~(sit fe 3) 257)
400 1
400 1
401− ~zod/try=> (~(sit fe 2) 257)
401+ > (~(sit fe 2) 257)
402 1
402 1
403− ~zod/try=> (~(sit fe 2) 10.000)
403+ > (~(sit fe 2) 10.000)
404 0
404 0
405− ~zod/try=> (~(sit fe 2) 100)
405+ > (~(sit fe 2) 100)
406 4
406 4
407− ~zod/try=> (~(sit fe 2) 19)
407+ > (~(sit fe 2) 19)
408 3
408 3
409− ~zod/try=> (~(sit fe 2) 17)
409+ > (~(sit fe 2) 17)
410 1
410 1
411− ~zod/try=> (~(sit fe 0) 17)
411+ > (~(sit fe 0) 17)
412 1
412 1
413− ~zod/try=> (~(sit fe 0) 0)
413+ > (~(sit fe 0) 0)
414 0
414 0
415− ~zod/try=> (~(sit fe 0) 1)
415+ > (~(sit fe 0) 1)
416 1
416 1
417
417
418
418
@@ -451,11 +451,11 @@ Source
451Examples
451Examples
452--------
452--------
453
453
454− ~zod/try=> (abs:si -2)
454+ > (abs:si -2)
455 2
455 2
456− ~zod/try=> (abs:si -10.000)
456+ > (abs:si -10.000)
457 10.000
457 10.000
458− ~zod/try=> (abs:si --2)
458+ > (abs:si --2)
459 2
459 2
460
460
461------------------------------------------------------------------------
461------------------------------------------------------------------------
@@ -488,13 +488,13 @@ Source
488Examples
488Examples
489--------
489--------
490
490
491− ~zod/try=> (dif:si --10 -7)
491+ > (dif:si --10 -7)
492 --17
492 --17
493− ~zod/try=> (dif:si --10 --7)
493+ > (dif:si --10 --7)
494 --3
494 --3
495− ~zod/try=> (dif:si `@s`0 --7)
495+ > (dif:si `@s`0 --7)
496 -7
496 -7
497− ~zod/try=> (dif:si `@s`0 `@s`7)
497+ > (dif:si `@s`0 `@s`7)
498 --4
498 --4
499
499
500------------------------------------------------------------------------
500------------------------------------------------------------------------
@@ -526,15 +526,15 @@ Source
526Examples
526Examples
527--------
527--------
528
528
529− ~zod/try=> (dul:si --9 3)
529+ > (dul:si --9 3)
530 0
530 0
531− ~zod/try=> (dul:si --9 4)
531+ > (dul:si --9 4)
532 1
532 1
533− ~zod/try=> (dul:si --9 5)
533+ > (dul:si --9 5)
534 4
534 4
535− ~zod/try=> (dul:si --9 6)
535+ > (dul:si --9 6)
536 3
536 3
537− ~zod/try=> (dul:si --90 --10)
537+ > (dul:si --90 --10)
538 10
538 10
539
539
540------------------------------------------------------------------------
540------------------------------------------------------------------------
@@ -566,9 +566,9 @@ Source
566Examples
566Examples
567--------
567--------
568
568
569− ~zod/try=> (fra:si --10 -2)
569+ > (fra:si --10 -2)
570 -5
570 -5
571− ~zod/try=> (fra:si -20 -5)
571+ > (fra:si -20 -5)
572 --4
572 --4
573
573
574------------------------------------------------------------------------
574------------------------------------------------------------------------
@@ -600,11 +600,11 @@ Source
600Examples
600Examples
601--------
601--------
602
602
603− ~zod/try=> (new:si [& 10])
603+ > (new:si [& 10])
604 --10
604 --10
605− ~zod/try=> (new:si [| 10])
605+ > (new:si [| 10])
606 -10
606 -10
607− ~zod/try=> (new:si [%.y 7])
607+ > (new:si [%.y 7])
608 --7
608 --7
609
609
610------------------------------------------------------------------------
610------------------------------------------------------------------------
@@ -633,16 +633,16 @@ Source
633Examples
633Examples
634--------
634--------
635
635
636− ~zod/try=> (old:si 7)
636+ > (old:si 7)
637 ! type-fail
637 ! type-fail
638 ! exit
638 ! exit
639− ~zod/try=> (old:si -7)
639+ > (old:si -7)
640 [%.n 7]
640 [%.n 7]
641− ~zod/try=> (old:si --7)
641+ > (old:si --7)
642 [%.y 7]
642 [%.y 7]
643− ~zod/try=> (old:si `@s`7)
643+ > (old:si `@s`7)
644 [%.n 4]
644 [%.n 4]
645− ~zod/try=> (old:si -0)
645+ > (old:si -0)
646 [%.y 0]
646 [%.y 0]
647
647
648------------------------------------------------------------------------
648------------------------------------------------------------------------
@@ -674,13 +674,13 @@ Source
674Examples
674Examples
675--------
675--------
676
676
677− ~zod/try=> (pro:si -4 --2)
677+ > (pro:si -4 --2)
678 -8
678 -8
679− ~zod/try=> (pro:si -4 -2)
679+ > (pro:si -4 -2)
680 --8
680 --8
681− ~zod/try=> (pro:si --10.000.000 -10)
681+ > (pro:si --10.000.000 -10)
682 -100.000.000
682 -100.000.000
683− ~zod/try=> (pro:si -1.337 --0)
683+ > (pro:si -1.337 --0)
684 --0
684 --0
685
685
686------------------------------------------------------------------------
686------------------------------------------------------------------------
@@ -711,15 +711,15 @@ Source
711Examples
711Examples
712--------
712--------
713
713
714− ~zod/try=> (rem:si -10 -4)
714+ > (rem:si -10 -4)
715 -2
715 -2
716− ~zod/try=> (rem:si --10 --4)
716+ > (rem:si --10 --4)
717 --2
717 --2
718− ~zod/try=> (rem:si --10 -4)
718+ > (rem:si --10 -4)
719 --2
719 --2
720− ~zod/try=> (rem:si --7 --3)
720+ > (rem:si --7 --3)
721 --1
721 --1
722− ~zod/try=> (rem:si --0 --10.000)
722+ > (rem:si --0 --10.000)
723 --0
723 --0
724
724
725------------------------------------------------------------------------
725------------------------------------------------------------------------
@@ -763,13 +763,13 @@ Source
763Examples
763Examples
764--------
764--------
765
765
766− ~zod/try=> (sum:si --10 --10)
766+ > (sum:si --10 --10)
767 --20
767 --20
768− ~zod/try=> (sum:si --10 -0)
768+ > (sum:si --10 -0)
769 --10
769 --10
770− ~zod/try=> (sum:si -10 -7)
770+ > (sum:si -10 -7)
771 -17
771 -17
772− ~zod/try=> (sum:si -10 --7)
772+ > (sum:si -10 --7)
773 -3
773 -3
774
774
775------------------------------------------------------------------------
775------------------------------------------------------------------------
@@ -801,15 +801,15 @@ Source
801Examples
801Examples
802--------
802--------
803
803
804− ~zod/try=> `@s`10
804+ > `@s`10
805 --5
805 --5
806− ~zod/try=> (sun:si 10)
806+ > (sun:si 10)
807 20
807 20
808− ~zod/try=> `@s`(sun:si 10)
808+ > `@s`(sun:si 10)
809 --10
809 --10
810− ~zod/try=> `@sd`(sun:si 10)
810+ > `@sd`(sun:si 10)
811 --10
811 --10
812− ~zod/try=> `@sd`(sun:si 12.345)
812+ > `@sd`(sun:si 12.345)
813 --12.345
813 --12.345
814
814
815------------------------------------------------------------------------
815------------------------------------------------------------------------
@@ -838,11 +838,11 @@ Source
838Examples
838Examples
839--------
839--------
840
840
841− ~zod/try=> (syn:si -2)
841+ > (syn:si -2)
842 %.n
842 %.n
843− ~zod/try=> (syn:si --2)
843+ > (syn:si --2)
844 %.y
844 %.y
845− ~zod/try=> (syn:si -0)
845+ > (syn:si -0)
846 %.y
846 %.y
847
847
848------------------------------------------------------------------------
848------------------------------------------------------------------------
@@ -887,13 +887,13 @@ Source
887Examples
887Examples
888--------
888--------
889
889
890− ~zod/try=> (cmp:si --10 --10)
890+ > (cmp:si --10 --10)
891 --0
891 --0
892− ~zod/try=> (cmp:si --10 -0)
892+ > (cmp:si --10 -0)
893 --1
893 --1
894− ~zod/try=> (cmp:si -10 -7)
894+ > (cmp:si -10 -7)
895 -1
895 -1
896− ~zod/try=> (cmp:si -10 --7)
896+ > (cmp:si -10 --7)
897 -1
897 -1
898
898
899
899
@@ -925,13 +925,13 @@ GCD
925
925
926Greatest common denominator
926Greatest common denominator
927
927
928− ~zod/try=> (egcd 20 15)
928+ > (egcd 20 15)
929 [d=5 u=2 v=1]
929 [d=5 u=2 v=1]
930− ~zod/try=> (egcd 24 16)
930+ > (egcd 24 16)
931 [d=8 u=2 v=1]
931 [d=8 u=2 v=1]
932− ~zod/try=> (egcd 7 5)
932+ > (egcd 7 5)
933 [d=1 u=3 v=6]
933 [d=1 u=3 v=6]
934− ~zod/try=> (egcd (shaf ~ %ham) (shaf ~ %sam))
934+ > (egcd (shaf ~ %ham) (shaf ~ %sam))
935 [ d=1
935 [ d=1
936 u=59.983.396.314.566.203.239.184.568.129.921.874.787
936 u=59.983.396.314.566.203.239.184.568.129.921.874.787
937 v=38.716.650.351.034.402.960.165.718.823.532.275.722
937 v=38.716.650.351.034.402.960.165.718.823.532.275.722
docs/system/hoon/library/3c.md+38−38
@@ -24,11 +24,11 @@ Source
24Examples
24Examples
25--------
25--------
26
26
27− ~zod/try=> cet:yo
27+ > cet:yo
28 36.524
28 36.524
29− ~zod/try=> (add 365 cet:yo)
29+ > (add 365 cet:yo)
30 36.889
30 36.889
31− ~zod/try=> (sub (add 24 (mul 100 365)) cet:yo)
31+ > (sub (add 24 (mul 100 365)) cet:yo)
32 0
32 0
33
33
34------------------------------------------------------------------------
34------------------------------------------------------------------------
@@ -50,9 +50,9 @@ Source
50Examples
50Examples
51--------
51--------
52
52
53− ~zod/try=> day:yo
53+ > day:yo
54 86.400
54 86.400
55− ~zod/try=> (add 60 day:yo)
55+ > (add 60 day:yo)
56 86.460
56 86.460
57
57
58------------------------------------------------------------------------
58------------------------------------------------------------------------
@@ -97,9 +97,9 @@ Source
97Examples
97Examples
98--------
98--------
99
99
100− ~zod/try=> hor:yo
100+ > hor:yo
101 3.600
101 3.600
102− ~zod/try=> (div hor:yo 60)
102+ > (div hor:yo 60)
103 60
103 60
104
104
105------------------------------------------------------------------------
105------------------------------------------------------------------------
@@ -121,7 +121,7 @@ Source
121Examples
121Examples
122--------
122--------
123
123
124− ~zod/try=> jes:yo
124+ > jes:yo
125 106.751.991.084.417
125 106.751.991.084.417
126
126
127------------------------------------------------------------------------
127------------------------------------------------------------------------
@@ -145,7 +145,7 @@ Source
145Examples
145Examples
146--------
146--------
147
147
148− ~zod/try=> mit:yo
148+ > mit:yo
149 60
149 60
150
150
151------------------------------------------------------------------------
151------------------------------------------------------------------------
@@ -171,9 +171,9 @@ Source
171Examples
171Examples
172--------
172--------
173
173
174− ~zod/try=> moh:yo
174+ > moh:yo
175 ~[31 28 31 30 31 30 31 31 30 31 30 31]
175 ~[31 28 31 30 31 30 31 31 30 31 30 31]
176− ~zod/try=> (snag 4 moh:yo)
176+ > (snag 4 moh:yo)
177 31
177 31
178
178
179------------------------------------------------------------------------
179------------------------------------------------------------------------
@@ -199,9 +199,9 @@ Source
199Examples
199Examples
200--------
200--------
201
201
202− ~zod/try=> moy:yo
202+ > moy:yo
203 ~[31 29 31 30 31 30 31 31 30 31 30 31]
203 ~[31 29 31 30 31 30 31 31 30 31 30 31]
204− ~zod/try=> (snag 1 moy:yo)
204+ > (snag 1 moy:yo)
205 29
205 29
206
206
207------------------------------------------------------------------------
207------------------------------------------------------------------------
@@ -226,7 +226,7 @@ Source
226Examples
226Examples
227--------
227--------
228
228
229− ~zod/try=> qad:yo
229+ > qad:yo
230 126.144.001
230 126.144.001
231
231
232------------------------------------------------------------------------
232------------------------------------------------------------------------
@@ -251,7 +251,7 @@ Source
251Examples
251Examples
252--------
252--------
253
253
254− ~zod/try=> yer:yo
254+ > yer:yo
255 31.536.000
255 31.536.000
256
256
257
257
@@ -304,11 +304,11 @@ Source
304Examples
304Examples
305--------
305--------
306
306
307− ~zod/try=> (yall 198)
307+ > (yall 198)
308 [y=0 m=7 d=17]
308 [y=0 m=7 d=17]
309− ~zod/try=> (yall 90.398)
309+ > (yall 90.398)
310 [y=247 m=7 d=3]
310 [y=247 m=7 d=3]
311− ~zod/try=> (yall 0)
311+ > (yall 0)
312 [y=0 m=1 d=1]
312 [y=0 m=1 d=1]
313
313
314
314
@@ -367,11 +367,11 @@ Source
367Examples
367Examples
368--------
368--------
369
369
370− ~zod/try=> (yawn 2.014 8 4)
370+ > (yawn 2.014 8 4)
371 735.814
371 735.814
372− ~zod/try=> (yawn 1.776 7 4)
372+ > (yawn 1.776 7 4)
373 648.856
373 648.856
374− ~zod/try=> (yawn 1.990 10 11)
374+ > (yawn 1.990 10 11)
375 727.116
375 727.116
376
376
377
377
@@ -409,7 +409,7 @@ Source
409Examples
409Examples
410--------
410--------
411
411
412− ~zod/try=> (year [[a=%.y y=2.014] m=8 t=[d=4 h=20 m=4 s=57 f=~[0xd940]]])
412+ > (year [[a=%.y y=2.014] m=8 t=[d=4 h=20 m=4 s=57 f=~[0xd940]]])
413 0x8000000d227df4e9d940000000000000
413 0x8000000d227df4e9d940000000000000
414
414
415
415
@@ -448,11 +448,11 @@ Source
448Examples
448Examples
449--------
449--------
450
450
451− ~zod/try=> (yell ~2014.3.20..05.42.53..7456)
451+ > (yell ~2014.3.20..05.42.53..7456)
452 [d=106.751.991.820.094 h=5 m=42 s=53 f=~[0x7456]]
452 [d=106.751.991.820.094 h=5 m=42 s=53 f=~[0x7456]]
453− ~zod/try=> (yell ~2014.6.9..19.09.40..8b66)
453+ > (yell ~2014.6.9..19.09.40..8b66)
454 [d=106.751.991.820.175 h=19 m=9 s=40 f=~[0x8b66]]
454 [d=106.751.991.820.175 h=19 m=9 s=40 f=~[0x8b66]]
455− ~zod/try=> (yell ~1776.7.4)
455+ > (yell ~1776.7.4)
456 [d=106.751.991.733.273 h=0 m=0 s=0 f=~]
456 [d=106.751.991.733.273 h=0 m=0 s=0 f=~]
457
457
458
458
@@ -484,13 +484,13 @@ Source
484Examples
484Examples
485--------
485--------
486
486
487− ~zod/try=> (yelp 2.014)
487+ > (yelp 2.014)
488 %.n
488 %.n
489− ~zod/try=> (yelp 2.008)
489+ > (yelp 2.008)
490 %.y
490 %.y
491− ~zod/try=> (yelp 0)
491+ > (yelp 0)
492 %.y
492 %.y
493− ~zod/try=> (yelp 14.011)
493+ > (yelp 14.011)
494 %.n
494 %.n
495
495
496
496
@@ -527,9 +527,9 @@ Source
527Examples
527Examples
528--------
528--------
529
529
530− ~zod/try=> (yore -<-)
530+ > (yore -<-)
531 [[a=%.y y=2.014] m=8 t=[d=4 h=20 m=17 s=1 f=~[0x700d]]]
531 [[a=%.y y=2.014] m=8 t=[d=4 h=20 m=17 s=1 f=~[0x700d]]]
532− ~zod/try=> (yore -<-)
532+ > (yore -<-)
533 [[a=%.y y=2.014] m=8 t=[d=4 h=20 m=28 s=53 f=~[0x7b82]]]
533 [[a=%.y y=2.014] m=8 t=[d=4 h=20 m=28 s=53 f=~[0x7b82]]]
534
534
535
535
@@ -576,18 +576,18 @@ Source
576Examples
576Examples
577--------
577--------
578
578
579− ~zod/try=> =murica (yell ~1776.7.4)
579+ > =murica (yell ~1776.7.4)
580− ~zod/try=> murica
580+ > murica
581 [d=106.751.991.733.273 h=0 m=0 s=0 f=~]
581 [d=106.751.991.733.273 h=0 m=0 s=0 f=~]
582− ~zod/try=> (yule murica)
582+ > (yule murica)
583 0x8000000b62aaf5800000000000000000
583 0x8000000b62aaf5800000000000000000
584− ~zod/try=> `@da`(yule murica)
584+ > `@da`(yule murica)
585 ~1776.7.4
585 ~1776.7.4
586− ~zod/try=> `@da`(yule (yell ~2014.3.20..05.42.53..7456))
586+ > `@da`(yule (yell ~2014.3.20..05.42.53..7456))
587 ~2014.3.20..05.42.53..7456
587 ~2014.3.20..05.42.53..7456
588− ~zod/try=> `tarp`[31 12 30 0 ~]
588+ > `tarp`[31 12 30 0 ~]
589 [d=31 h=12 m=30 s=0 f=~]
589 [d=31 h=12 m=30 s=0 f=~]
590− ~zod/try=> `@dr`(yule `tarp`[31 12 30 0 ~])
590+ > `@dr`(yule `tarp`[31 12 30 0 ~])
591 ~d31.h12.m30
591 ~d31.h12.m30
592
592
593
593
docs/system/hoon/library/3f.md+21−21
@@ -320,11 +320,11 @@ Source
320Examples
320Examples
321--------
321--------
322
322
323− ~zod/try=> `@ux`(wren:un 'testing')
323+ > `@ux`(wren:un 'testing')
324 0x30.bf6a.b9fe.7d8f
324 0x30.bf6a.b9fe.7d8f
325− ~zod/try=> `@ux`'testing'
325+ > `@ux`'testing'
326 0x67.6e69.7473.6574
326 0x67.6e69.7473.6574
327− ~zod/try=> `@da`(wred:un (wren:un ~2001.2.5))
327+ > `@da`(wred:un (wren:un ~2001.2.5))
328 ~2001.2.5
328 ~2001.2.5
329
329
330------------------------------------------------------------------------
330------------------------------------------------------------------------
@@ -369,11 +369,11 @@ Source
369Examples
369Examples
370--------
370--------
371
371
372− ~zod/try=> (wred:un 0x30.bf6a.b9fe.7d8f)
372+ > (wred:un 0x30.bf6a.b9fe.7d8f)
373 29.113.321.805.538.676
373 29.113.321.805.538.676
374− ~zod/try=> `@t`(wred:un 0x30.bf6a.b9fe.7d8f)
374+ > `@t`(wred:un 0x30.bf6a.b9fe.7d8f)
375 'testing'
375 'testing'
376− ~zod/try=> (wred:un (wren:un 200.038.426))
376+ > (wred:un (wren:un 200.038.426))
377 200.038.426
377 200.038.426
378
378
379------------------------------------------------------------------------
379------------------------------------------------------------------------
@@ -397,9 +397,9 @@ Source
397Examples
397Examples
398--------
398--------
399
399
400− ~zod/try=> (xafo:un 5 6)
400+ > (xafo:un 5 6)
401 11
401 11
402− ~zod/try=> (xafo:un 256 20)
402+ > (xafo:un 256 20)
403 21
403 21
404
404
405------------------------------------------------------------------------
405------------------------------------------------------------------------
@@ -429,9 +429,9 @@ Source
429Examples
429Examples
430--------
430--------
431
431
432− ~zod/try=> (xaro:un 17 57)
432+ > (xaro:un 17 57)
433 40
433 40
434− ~zod/try=> (xaro:un 265 12)
434+ > (xaro:un 265 12)
435 2
435 2
436
436
437------------------------------------------------------------------------
437------------------------------------------------------------------------
@@ -477,11 +477,11 @@ Source
477Examples
477Examples
478--------
478--------
479
479
480− ~zod/try=> (zaft:un 0x12)
480+ > (zaft:un 0x12)
481 42
481 42
482− ~zod/try=> (zaft:un 0xff)
482+ > (zaft:un 0xff)
483 204
483 204
484− ~zod/try=> (zaft:un 0x0)
484+ > (zaft:un 0x0)
485 ! decrement-underflow
485 ! decrement-underflow
486 ! exit
486 ! exit
487
487
@@ -527,9 +527,9 @@ Source
527Examples
527Examples
528--------
528--------
529
529
530− ~zod/try=> `@ux`(zart:un 204)
530+ > `@ux`(zart:un 204)
531 0xff
531 0xff
532− ~zod/try=> `@ux`(zart:un 42)
532+ > `@ux`(zart:un 42)
533 0x12
533 0x12
534
534
535------------------------------------------------------------------------
535------------------------------------------------------------------------
@@ -575,11 +575,11 @@ Source
575Examples
575Examples
576--------
576--------
577
577
578− ~zod/try=> (zyft:un 0x12)
578+ > (zyft:un 0x12)
579 57
579 57
580− ~zod/try=> (zyft:un 0x0)
580+ > (zyft:un 0x0)
581 225
581 225
582− ~zod/try=> (zyft:un 0xff)
582+ > (zyft:un 0xff)
583 187
583 187
584
584
585------------------------------------------------------------------------
585------------------------------------------------------------------------
@@ -624,11 +624,11 @@ Source
624Examples
624Examples
625--------
625--------
626
626
627− ~zod/try=> `@ux`(zyrt:un 57)
627+ > `@ux`(zyrt:un 57)
628 0x12
628 0x12
629− ~zod/try=> `@ux`(zyrt:un 225)
629+ > `@ux`(zyrt:un 225)
630 0x0
630 0x0
631− ~zod/try=> `@ux`(zyrt:un 187)
631+ > `@ux`(zyrt:un 187)
632 0xff
632 0xff
633
633
634
634
docs/system/hoon/library/3g.md+36−36
@@ -17,21 +17,21 @@ Source
17Examples
17Examples
18--------
18--------
19
19
20− ~zod/try=> `coin`(need (slay '~s1'))
20+ > `coin`(need (slay '~s1'))
21 [%$ p=[p=~.dr q=18.446.744.073.709.551.616]]
21 [%$ p=[p=~.dr q=18.446.744.073.709.551.616]]
22− ~zod/try=> `coin`(need (slay '0x2b59'))
22+ > `coin`(need (slay '0x2b59'))
23 [%$ p=[p=~.ux q=11.097]]
23 [%$ p=[p=~.ux q=11.097]]
24
24
25− ~zod/try=> ~(rend co [%many ~[[%$ %ud 1] [%$ %tas 'a'] [%$ %s -2]]])
25+ > ~(rend co [%many ~[[%$ %ud 1] [%$ %tas 'a'] [%$ %s -2]]])
26 "._1_a_-2__"
26 "._1_a_-2__"
27− ~zod/try=> ._1_a_-2__
27+ > ._1_a_-2__
28 [1 %a -2]
28 [1 %a -2]
29
29
30− ~zod/try=> `@uv`(jam [3 4])
30+ > `@uv`(jam [3 4])
31 0v2cd1
31 0v2cd1
32− ~zod/try=> (slay '~02cd1')
32+ > (slay '~02cd1')
33 [~ [%blob p=[3 4]]]
33 [~ [%blob p=[3 4]]]
34− ~zod/try=> ~02cd1
34+ > ~02cd1
35 [3 4]
35 [3 4]
36
36
37
37
@@ -55,7 +55,7 @@ Source
55Examples
55Examples
56--------
56--------
57
57
58− ~zod/try=> +>:(slay '0x123')
58+ > +>:(slay '0x123')
59 p=[p=~.ux q=291]
59 p=[p=~.ux q=291]
60
60
61
61
@@ -78,9 +78,9 @@ Examples
78
78
79See also: Section 2eD, `++rule`
79See also: Section 2eD, `++rule`
80
80
81− ~zod/try=> *edge
81+ > *edge
82 [p=[p=0 q=0] q=~]
82 [p=[p=0 q=0] q=~]
83− ~zod/try=> (tall:vast [1 1] "a b")
83+ > (tall:vast [1 1] "a b")
84 [p=[p=1 q=2] q=[~ [p=[%cnzz p=~[%a]] q=[p=[p=1 q=2] q=" b"]]]]
84 [p=[p=1 q=2] q=[~ [p=[%cnzz p=~[%a]] q=[p=[p=1 q=2] q=" b"]]]]
85
85
86
86
@@ -101,14 +101,14 @@ Source
101Examples
101Examples
102--------
102--------
103
103
104− ~zod/try=> *hair
104+ > *hair
105 [p=0 q=0]
105 [p=0 q=0]
106
106
107− ~zod/try=> `hair`[1 1] :: parsing starts at [1 1] as a convention.
107+ > `hair`[1 1] :: parsing starts at [1 1] as a convention.
108 [p=1 q=1]
108 [p=1 q=1]
109− ~zod/try=> ((plus ace) [1 1] " --")
109+ > ((plus ace) [1 1] " --")
110 [p=[p=1 q=4] q=[~ u=[p=[~~. " "] q=[p=[p=1 q=4] q="--"]]]]
110 [p=[p=1 q=4] q=[~ u=[p=[~~. " "] q=[p=[p=1 q=4] q="--"]]]]
111− ~zod/try=> `hair`p:((plus ace) [1 1] " --")
111+ > `hair`p:((plus ace) [1 1] " --")
112 [p=1 q=4]
112 [p=1 q=4]
113
113
114
114
@@ -134,14 +134,14 @@ Source
134
134
135Examples
135Examples
136--------
136--------
137− ~zod/try=> *(like char)
137+ > *(like char)
138 [p=[p=0 q=0] q=~]
138 [p=[p=0 q=0] q=~]
139
139
140− ~zod/try=> (ace [1 1] " a")
140+ > (ace [1 1] " a")
141 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q="a"]]]]
141 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q="a"]]]]
142− ~zod/try=> `(like char)`(ace [1 1] " a")
142+ > `(like char)`(ace [1 1] " a")
143 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q="a"]]]]
143 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q="a"]]]]
144− ~zod/try=> `(like ,@)`(ace [1 1] " a")
144+ > `(like ,@)`(ace [1 1] " a")
145 [p=[p=1 q=2] q=[~ [p=32 q=[p=[p=1 q=2] q="a"]]]]
145 [p=[p=1 q=2] q=[~ [p=32 q=[p=[p=1 q=2] q="a"]]]]
146
146
147
147
@@ -162,9 +162,9 @@ Source
162Examples
162Examples
163--------
163--------
164
164
165− ~zod/try=> +<:;~(plug cab cab)
165+ > +<:;~(plug cab cab)
166 c=tub=[p=[p=0 q=0] q=""]
166 c=tub=[p=[p=0 q=0] q=""]
167− ~zod/try=> :: tub is a ++nail
167+ > :: tub is a ++nail
168
168
169
169
170
170
@@ -185,7 +185,7 @@ Source
185Examples
185Examples
186--------
186--------
187
187
188− ~zod/try=> `path`"abc"
188+ > `path`"abc"
189 /a/b/c
189 /a/b/c
190
190
191
191
@@ -207,10 +207,10 @@ Source
207Examples
207Examples
208--------
208--------
209
209
210− ~zod/try=> !:(!!)
210+ > !:(!!)
211 ! /~zod/try/~2014.9.20..01.22.04..52e3/:<[1 4].[1 6]>
211 ! /~zod/try/~2014.9.20..01.22.04..52e3/:<[1 4].[1 6]>
212− ~zod/try=> :: !! always produces a crash
212+ > :: !! always produces a crash
213− ~zod/try=> `pint`[[1 4] [1 6]]
213+ > `pint`[[1 4] [1 6]]
214 [p=[p=1 q=4] q=[p=1 q=6]]
214 [p=[p=1 q=4] q=[p=1 q=6]]
215
215
216
216
@@ -233,14 +233,14 @@ Source
233Examples
233Examples
234--------
234--------
235
235
236− ~zod/try=> *rule
236+ > *rule
237 [p=[p=0 q=0] q=[~ [p=0 q=[p=[p=0 q=0] q=""]]]]
237 [p=[p=0 q=0] q=[~ [p=0 q=[p=[p=0 q=0] q=""]]]]
238
238
239− ~zod/try=> ^+(rule [|=(a=nail [p.a ~])]:|6)
239+ > ^+(rule [|=(a=nail [p.a ~])]:|6)
240 <1.dww [tub=[p=[p=@ud q=@ud] q=""] <101.jzo 1.ypj %164>]>
240 <1.dww [tub=[p=[p=@ud q=@ud] q=""] <101.jzo 1.ypj %164>]>
241− ~zod/try=> (^+(rule [|=(a=nail [p.a ~ u=['a' a]])]:|6) [1 1] "hi")
241+ > (^+(rule [|=(a=nail [p.a ~ u=['a' a]])]:|6) [1 1] "hi")
242 [p=[p=1 q=1] q=[~ [p=97 q=[p=[p=1 q=1] q="hi"]]]]
242 [p=[p=1 q=1] q=[~ [p=97 q=[p=[p=1 q=1] q="hi"]]]]
243− ~zod/try=> ([|=(a=nail [p.a ~ u=['a' a]])]:|6 [1 1] "hi")
243+ > ([|=(a=nail [p.a ~ u=['a' a]])]:|6 [1 1] "hi")
244 [[p=1 q=1] ~ u=['a' p=[p=1 q=1] q="hi"]]
244 [[p=1 q=1] ~ u=['a' p=[p=1 q=1] q="hi"]]
245
245
246
246
@@ -261,9 +261,9 @@ Source
261Examples
261Examples
262--------
262--------
263
263
264− ~zod/try=> :into /=main=/bin/fail/hoon '!: !!'
264+ > :into /=main=/bin/fail/hoon '!: !!'
265 + /~zod/main/359/bin/fail/hoon
265 + /~zod/main/359/bin/fail/hoon
266− ~zod/try=> :fail
266+ > :fail
267 ! /~zod/main/~2014.9.22..18.40.56..ef04/bin/fail/:<[1 5].[1 7]>
267 ! /~zod/main/~2014.9.22..18.40.56..ef04/bin/fail/:<[1 5].[1 7]>
268 ! exit
268 ! exit
269
269
@@ -288,14 +288,14 @@ Source
288
288
289Examples
289Examples
290--------
290--------
291− ~zod/try=> (mock [[20 21] 0 3] $~)
291+ > (mock [[20 21] 0 3] $~)
292 [%0 p=21]
292 [%0 p=21]
293− ~zod/try=> (mock [[0] !=(.^(cy//=main/1))] ,~)
293+ > (mock [[0] !=(.^(cy//=main/1))] ,~)
294 [%1 p=~[[31.075 1.685.027.454 1.852.399.981 49 0]]]
294 [%1 p=~[[31.075 1.685.027.454 1.852.399.981 49 0]]]
295− ~zod/try=> (path [31.075 1.685.027.454 1.852.399.981 49 0])
295+ > (path [31.075 1.685.027.454 1.852.399.981 49 0])
296 /cy/~zod/main/1
296 /cy/~zod/main/1
297
297
298− ~zod/try=> (mock [[1 2] !=(!:(+(.)))] ,~)
298+ > (mock [[1 2] !=(!:(+(.)))] ,~)
299 [%2 p=~[[%leaf p="/~zod/try/~2014.9.23..18.34.32..d3c5/:<[1 20].[1 24]>"]]]
299 [%2 p=~[[%leaf p="/~zod/try/~2014.9.23..18.34.32..d3c5/:<[1 20].[1 24]>"]]]
300
300
301
301
@@ -317,7 +317,7 @@ Examples
317
317
318See also: [`++edge`]()
318See also: [`++edge`]()
319
319
320− ~zod/try=> (wide:vast [1 1] "(add 2 2)")
320+ > (wide:vast [1 1] "(add 2 2)")
321 [ p=[p=1 q=10]
321 [ p=[p=1 q=10]
322 q
322 q
323 [ ~
323 [ ~
@@ -326,7 +326,7 @@ See also: [`++edge`]()
326 ]
326 ]
327 ]
327 ]
328 ]
328 ]
329− ~zod/try=> (wonk (wide:vast [1 1] "(add 2 2)"))
329+ > (wonk (wide:vast [1 1] "(add 2 2)"))
330 [%cnhp p=[%cnzz p=~[%add]] q=~[[%dtzy p=%ud q=2] [%dtzy p=%ud q=2]]]
330 [%cnhp p=[%cnzz p=~[%add]] q=~[[%dtzy p=%ud q=2] [%dtzy p=%ud q=2]]]
331
331
332
332
docs/system/hoon/library/4a.md+17−17
@@ -74,11 +74,11 @@ Source
74Examples
74Examples
75--------
75--------
76
76
77− ~zod/try=> (ind:po 'zod')
77+ > (ind:po 'zod')
78 [~ 0]
78 [~ 0]
79− ~zod/try=> (ind:po 'zam')
79+ > (ind:po 'zam')
80 ~
80 ~
81− ~zod/try=> (ind:po 'del')
81+ > (ind:po 'del')
82 [~ 37]
82 [~ 37]
83
83
84------------------------------------------------------------------------
84------------------------------------------------------------------------
@@ -111,13 +111,13 @@ Source
111Examples
111Examples
112--------
112--------
113
113
114− ~zod/try=> (ins:po 'mar')
114+ > (ins:po 'mar')
115 [~ 1]
115 [~ 1]
116− ~zod/try=> (ins:po 'son')
116+ > (ins:po 'son')
117 [~ 164]
117 [~ 164]
118− ~zod/try=> (ins:po 'pit')
118+ > (ins:po 'pit')
119 [~ 242]
119 [~ 242]
120− ~zod/try=> (ins:po 'pok')
120+ > (ins:po 'pok')
121 ~
121 ~
122
122
123------------------------------------------------------------------------
123------------------------------------------------------------------------
@@ -151,17 +151,17 @@ Source
151Examples
151Examples
152--------
152--------
153
153
154− ~zod/try=> `@t`(tod:po 1)
154+ > `@t`(tod:po 1)
155 'nec'
155 'nec'
156− ~zod/try=> `@t`(tod:po 98)
156+ > `@t`(tod:po 98)
157 'dec'
157 'dec'
158− ~zod/try=> `@t`(tod:po 0)
158+ > `@t`(tod:po 0)
159 'zod'
159 'zod'
160− ~zod/try=> `@t`(tod:po 150)
160+ > `@t`(tod:po 150)
161 'ryg'
161 'ryg'
162− ~zod/try=> `@t`(tod:po 255)
162+ > `@t`(tod:po 255)
163 'fes'
163 'fes'
164− ~zod/try=> `@t`(tod:po 256)
164+ > `@t`(tod:po 256)
165 ! exit
165 ! exit
166
166
167------------------------------------------------------------------------
167------------------------------------------------------------------------
@@ -192,13 +192,13 @@ Source
192Examples
192Examples
193--------
193--------
194
194
195− ~zod/try=> `@t`(tos:po 0)
195+ > `@t`(tos:po 0)
196 'doz'
196 'doz'
197− ~zod/try=> `@t`(tos:po 120)
197+ > `@t`(tos:po 120)
198 'fab'
198 'fab'
199− ~zod/try=> `@t`(tos:po 43)
199+ > `@t`(tos:po 43)
200 'pid'
200 'pid'
201− ~zod/try=> `@t`(tos:po 253)
201+ > `@t`(tos:po 253)
202 'mat'
202 'mat'
203
203
204------------------------------------------------------------------------
204------------------------------------------------------------------------
docs/system/hoon/library/4b.md+47−47
@@ -177,13 +177,13 @@ Source
177Examples
177Examples
178--------
178--------
179
179
180− ~zod/try=> (cass "john doe")
180+ > (cass "john doe")
181 7.309.170.810.699.673.450
181 7.309.170.810.699.673.450
182− ~zod/try=> `cord`(cass "john doe")
182+ > `cord`(cass "john doe")
183 'john doe'
183 'john doe'
184− ~zod/try=> (cass "abc, 123, !@#")
184+ > (cass "abc, 123, !@#")
185 2.792.832.775.110.938.439.066.079.945.313
185 2.792.832.775.110.938.439.066.079.945.313
186− ~zod/try=> `cord`(cass "abc, 123, !@#")
186+ > `cord`(cass "abc, 123, !@#")
187 'abc, 123, !@#'
187 'abc, 123, !@#'
188
188
189
189
@@ -212,11 +212,11 @@ Source
212Examples
212Examples
213--------
213--------
214
214
215− ~zod/try=> (crip "john doe")
215+ > (crip "john doe")
216 'john doe'
216 'john doe'
217− ~zod/try=> (crip "abc 123 !@#")
217+ > (crip "abc 123 !@#")
218 'abc 123 !@#'
218 'abc 123 !@#'
219− ~zod/try=> `@ud`(crip "abc")
219+ > `@ud`(crip "abc")
220 6.513.249
220 6.513.249
221
221
222
222
@@ -251,13 +251,13 @@ Source
251Examples
251Examples
252--------
252--------
253
253
254− ~zod/try=> (cuss "john doe")
254+ > (cuss "john doe")
255 'JOHN DOE'
255 'JOHN DOE'
256− ~zod/try=> (cuss "abc ABC 123 !@#")
256+ > (cuss "abc ABC 123 !@#")
257 'ABC ABC 123 !@#'
257 'ABC ABC 123 !@#'
258− ~zod/try=> `@ud`(cuss "abc")
258+ > `@ud`(cuss "abc")
259 4.407.873
259 4.407.873
260− ~zod/try=> (cuss "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsQqRrVvWwXxYyZz")
260+ > (cuss "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsQqRrVvWwXxYyZz")
261 'AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSQQRRVVWWXXYYZZ'
261 'AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSQQRRVVWWXXYYZZ'
262
262
263
263
@@ -296,11 +296,11 @@ Source
296Examples
296Examples
297--------
297--------
298
298
299− /~zod/try=> (mesc "ham lus")
299+ /> (mesc "ham lus")
300 "ham lus"
300 "ham lus"
301− /~zod/try=> (mesc "bas\\hur")
301+ /> (mesc "bas\\hur")
302 "bas\\\\hur"
302 "bas\\\\hur"
303− /~zod/try=> (mesc "as'saß")
303+ /> (mesc "as'saß")
304 "as\0x27/sa\0xc3/\0x9f/"
304 "as\0x27/sa\0xc3/\0x9f/"
305
305
306
306
@@ -338,9 +338,9 @@ Source
338Examples
338Examples
339--------
339--------
340
340
341− /~zod/try=> (runt [2 '/'] "ham")
341+ /> (runt [2 '/'] "ham")
342 "//ham"
342 "//ham"
343− /~zod/try=> (runt [10 'a'] "")
343+ /> (runt [10 'a'] "")
344 "aaaaaaaaaa"
344 "aaaaaaaaaa"
345
345
346
346
@@ -376,9 +376,9 @@ Source
376Examples
376Examples
377--------
377--------
378
378
379− /~zod/try=> `(unit @ta)`((sand %ta) 'sym-som')
379+ /> `(unit @ta)`((sand %ta) 'sym-som')
380 [~ ~.sym-som]
380 [~ ~.sym-som]
381− /~zod/try=> `(unit @ta)`((sand %ta) 'err!')
381+ /> `(unit @ta)`((sand %ta) 'err!')
382 ~
382 ~
383
383
384
384
@@ -444,11 +444,11 @@ Source
444Examples
444Examples
445--------
445--------
446
446
447− /~zod/try=> ((sane %tas) %mol)
447+ /> ((sane %tas) %mol)
448 %.y
448 %.y
449− /~zod/try=> ((sane %tas) 'lam')
449+ /> ((sane %tas) 'lam')
450 %.y
450 %.y
451− /~zod/try=> ((sane %tas) 'more ace')
451+ /> ((sane %tas) 'more ace')
452 %.n
452 %.n
453
453
454
454
@@ -484,9 +484,9 @@ Source
484Examples
484Examples
485--------
485--------
486
486
487− /~zod/try=> (teff 'a')
487+ /> (teff 'a')
488 1
488 1
489− /~zod/try=> (teff 'ß')
489+ /> (teff 'ß')
490 2
490 2
491
491
492
492
@@ -527,9 +527,9 @@ Source
527Examples
527Examples
528--------
528--------
529
529
530− /~zod/try=> (trim 5 "lasok termun")
530+ /> (trim 5 "lasok termun")
531 [p="lasok" q=" termun"]
531 [p="lasok" q=" termun"]
532− /~zod/try=> (trim 5 "zam")
532+ /> (trim 5 "zam")
533 [p="zam" q=""]
533 [p="zam" q=""]
534
534
535
535
@@ -566,11 +566,11 @@ Source
566Examples
566Examples
567--------
567--------
568
568
569− /~zod/try=> (trip 'john doe')
569+ /> (trip 'john doe')
570 "john doe"
570 "john doe"
571− /~zod/try=> (trip 'abc 123 !@#')
571+ /> (trip 'abc 123 !@#')
572 "abc 123 !@#"
572 "abc 123 !@#"
573− /~zod/try=> (trip 'abc')
573+ /> (trip 'abc')
574 "abc"
574 "abc"
575
575
576
576
@@ -604,9 +604,9 @@ Source
604Examples
604Examples
605--------
605--------
606
606
607− /~zod/try=> (tuba "я тут")
607+ /> (tuba "я тут")
608 ~[~-~44f. ~-. ~-~442. ~-~443. ~-~442.]
608 ~[~-~44f. ~-. ~-~442. ~-~443. ~-~442.]
609− /~zod/try=> (tuba "chars")
609+ /> (tuba "chars")
610 ~[~-c ~-h ~-a ~-r ~-s]
610 ~[~-c ~-h ~-a ~-r ~-s]
611
611
612
612
@@ -641,9 +641,9 @@ Source
641Examples
641Examples
642--------
642--------
643
643
644− /~zod/try=> (tufa ~[~-~44f. ~-. ~-~442. ~-~443. ~-~442.])
644+ /> (tufa ~[~-~44f. ~-. ~-~442. ~-~443. ~-~442.])
645 "я тут"
645 "я тут"
646− /~zod/try=> (tufa ((list @c) ~[%a %b 0xb1 %c]))
646+ /> (tufa ((list @c) ~[%a %b 0xb1 %c]))
647 "ab±c"
647 "ab±c"
648
648
649
649
@@ -702,9 +702,9 @@ Source
702Examples
702Examples
703--------
703--------
704
704
705− /~zod/try=> (tuft `@c`%a)
705+ /> (tuft `@c`%a)
706 'a'
706 'a'
707− /~zod/try=> (tuft `@c`0xb6)
707+ /> (tuft `@c`0xb6)
708 '¶'
708 '¶'
709
709
710
710
@@ -754,15 +754,15 @@ Source
754Examples
754Examples
755--------
755--------
756
756
757− /~zod/try=> (turf 'my ßam')
757+ /> (turf 'my ßam')
758 ~-my.~df.am
758 ~-my.~df.am
759− /~zod/try=> 'я тут'
759+ /> 'я тут'
760 'я тут'
760 'я тут'
761− /~zod/try=> (turf 'я тут')
761+ /> (turf 'я тут')
762 ~-~44f..~442.~443.~442.
762 ~-~44f..~442.~443.~442.
763− /~zod/try=> `@ux`'я тут'
763+ /> `@ux`'я тут'
764 0x82.d183.d182.d120.8fd1
764 0x82.d183.d182.d120.8fd1
765− /~zod/try=> `@ux`(turf 'я тут')
765+ /> `@ux`(turf 'я тут')
766 0x442.0000.0443.0000.0442.0000.0020.0000.044f
766 0x442.0000.0443.0000.0442.0000.0020.0000.044f
767
767
768
768
@@ -803,13 +803,13 @@ Source
803Examples
803Examples
804--------
804--------
805
805
806− /~zod/try=> (wack '~20_sam~')
806+ /> (wack '~20_sam~')
807 ~.~~20~-sam~~
807 ~.~~20~-sam~~
808− /~zod/try=> `@t`(wack '~20_sam~')
808+ /> `@t`(wack '~20_sam~')
809 '~~20~-sam~~'
809 '~~20~-sam~~'
810− ~zod/try=> ~(rend co %many ~[`ud/5 `ta/'~20_sam'])
810+ > ~(rend co %many ~[`ud/5 `ta/'~20_sam'])
811 "._5_~~.~~20~-sam__"
811 "._5_~~.~~20~-sam__"
812− ~zod/try=> ._5_~~.~~20~-sam__
812+ > ._5_~~.~~20~-sam__
813 [5 ~.~20_sam]
813 [5 ~.~20_sam]
814
814
815
815
@@ -855,9 +855,9 @@ Source
855Examples
855Examples
856--------
856--------
857
857
858− /~zod/try=> `@t`(wick '~-ams~~lop')
858+ /> `@t`(wick '~-ams~~lop')
859 '_ams~lop'
859 '_ams~lop'
860− /~zod/try=> `@t`(wick (wack '~20_sam~'))
860+ /> `@t`(wick (wack '~20_sam~'))
861 '~20_sam~'
861 '~20_sam~'
862
862
863
863
@@ -919,7 +919,7 @@ Source
919Examples
919Examples
920--------
920--------
921
921
922− /~zod/try=> (woad ~.~b6.20.as)
922+ /> (woad ~.~b6.20.as)
923 '¶20 as'
923 '¶20 as'
924
924
925
925
@@ -973,7 +973,7 @@ Source
973Examples
973Examples
974--------
974--------
975
975
976− /~zod/try=> (wood 'my ßam')
976+ /> (wood 'my ßam')
977 ~.my.~df.am
977 ~.my.~df.am
978
978
979
979
docs/system/hoon/library/4c.md+7−7
@@ -19,7 +19,7 @@ Produces
19Examples
19Examples
20--------
20--------
21
21
22− /~zod/try=> ~(. re leaf+"ham")
22+ /> ~(. re leaf+"ham")
23 <2.gdc {tac/{$leaf ""} <402.arm 110.jyx 1.ztu $151>}>
23 <2.gdc {tac/{$leaf ""} <402.arm 110.jyx 1.ztu $151>}>
24
24
25### `++ram`
25### `++ram`
@@ -60,9 +60,9 @@ Source
60Examples
60Examples
61--------
61--------
62
62
63− /~zod/try=> ~(ram re leaf+"foo")
63+ /> ~(ram re leaf+"foo")
64 "foo"
64 "foo"
65− /~zod/try=> ~(ram re rose+["." "(" ")"]^~[leaf+"bar" leaf+"baz" leaf+"bam"])
65+ /> ~(ram re rose+["." "(" ")"]^~[leaf+"bar" leaf+"baz" leaf+"bam"])
66 "(bar.baz.bam)"
66 "(bar.baz.bam)"
67
67
68### `++win`
68### `++win`
@@ -116,13 +116,13 @@ Source
116Examples
116Examples
117--------
117--------
118
118
119− /~zod/try=> (~(win re leaf+"samoltekon-lapdok") 0 20)
119+ /> (~(win re leaf+"samoltekon-lapdok") 0 20)
120 <<"samoltekon-lapdok">>
120 <<"samoltekon-lapdok">>
121− /~zod/try=> (~(win re leaf+"samoltekon-lapdok") 0 10)
121+ /> (~(win re leaf+"samoltekon-lapdok") 0 10)
122 <<"\/samolt\/" " ekon-l" " apdok" "\/ \/">>
122 <<"\/samolt\/" " ekon-l" " apdok" "\/ \/">>
123− /~zod/try=> (~(win re rose+["--" "[" "]"]^~[leaf+"1423" leaf+"2316"]) 0 20)
123+ /> (~(win re rose+["--" "[" "]"]^~[leaf+"1423" leaf+"2316"]) 0 20)
124 <<"[1423--2316]">>
124 <<"[1423--2316]">>
125− /~zod/try=> (~(win re rose+["--" "[" "]"]^~[leaf+"1423" leaf+"2316"]) 0 10)
125+ /> (~(win re rose+["--" "[" "]"]^~[leaf+"1423" leaf+"2316"]) 0 10)
126 <<"[ 1423" " 2316" "]">>
126 <<"[ 1423" " 2316" "]">>
127
127
128### `++din`
128### `++din`
docs/system/hoon/library/4d.md+9−9
@@ -31,13 +31,13 @@ Source
31Examples
31Examples
32--------
32--------
33
33
34− ~zod/try=> (last [1 1] [1 2])
34+ > (last [1 1] [1 2])
35 [p=1 q=2]
35 [p=1 q=2]
36− ~zod/try=> (last [2 1] [1 2])
36+ > (last [2 1] [1 2])
37 [p=2 q=1]
37 [p=2 q=1]
38− ~zod/try=> (last [0 0] [99 0])
38+ > (last [0 0] [99 0])
39 [p=99 q=0]
39 [p=99 q=0]
40− ~zod/try=> (last [7 7] [7 7])
40+ > (last [7 7] [7 7])
41 [p=7 q=7]
41 [p=7 q=7]
42
42
43
43
@@ -74,15 +74,15 @@ Source
74Examples
74Examples
75--------
75--------
76
76
77− ~zod/try=> (lust `a` [1 1])
77+ > (lust `a` [1 1])
78 [p=1 q=2]
78 [p=1 q=2]
79− ~zod/try=> (lust `@t`10 [1 1])
79+ > (lust `@t`10 [1 1])
80 [p=2 q=1]
80 [p=2 q=1]
81− ~zod/try=> (lust '9' [10 10])
81+ > (lust '9' [10 10])
82 [p=10 q=11]
82 [p=10 q=11]
83− /~zod/try=> (roll "maze" [.(+<+ [1 1])]:lust)
83+ /> (roll "maze" [.(+<+ [1 1])]:lust)
84 [1 5]
84 [1 5]
85− /~zod/try=> %- roll :_ [.(+<+ [1 1])]:lust
85+ /> %- roll :_ [.(+<+ [1 1])]:lust
86 """
86 """
87 Sam
87 Sam
88 lokes
88 lokes
docs/system/hoon/library/4e.md+32−32
@@ -46,18 +46,18 @@ Source
46Examples
46Examples
47--------
47--------
48
48
49− ~zod/try=> (;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn) [1 1] "qs")
49+ > (;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn) [1 1] "qs")
50 [p=[p=1 q=3] q=[~ u=[p=~~q q=[p=[p=1 q=2] q="s"]]]]
50 [p=[p=1 q=3] q=[~ u=[p=~~q q=[p=[p=1 q=2] q="s"]]]]
51− ~zod/try=> (;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn) [1 1] "qqq")
51+ > (;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn) [1 1] "qqq")
52 [p=[p=1 q=3] q=[~ u=[p=~~r q=[p=[p=1 q=3] q="q"]]]]
52 [p=[p=1 q=3] q=[~ u=[p=~~r q=[p=[p=1 q=3] q="q"]]]]
53− ~zod/try=> (scan "aa" ;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn))
53+ > (scan "aa" ;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn))
54 ~~b
54 ~~b
55− ~zod/try=> (scan "ba" ;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn))
55+ > (scan "ba" ;~((bend |=([a/char b/char] ?.(=(a b) ~ (some +(a))))) prn prn))
56 ! {1 3}
56 ! {1 3}
57 ! exit
57 ! exit
58− ~zod/try=> `(unit @tas)`(scan "" ;~((bend) (easy ~) sym))
58+ > `(unit @tas)`(scan "" ;~((bend) (easy ~) sym))
59 ~
59 ~
60− ~zod/try=> `(unit @tas)`(scan "sep" ;~((bend) (easy ~) sym))
60+ > `(unit @tas)`(scan "sep" ;~((bend) (easy ~) sym))
61 [~ %sep]
61 [~ %sep]
62
62
63
63
@@ -107,9 +107,9 @@ Source
107Examples
107Examples
108--------
108--------
109
109
110− ~zod/try=> (scan "123" ;~((comp |=([a/@u b/@u] (add a b))) dit dit dit))
110+ > (scan "123" ;~((comp |=([a/@u b/@u] (add a b))) dit dit dit))
111 6
111 6
112− ~zod/try=> (scan "12" ;~((comp |=([a/@u b/@u] (add a b))) dit dit dit))
112+ > (scan "12" ;~((comp |=([a/@u b/@u] (add a b))) dit dit dit))
113 ! {1 3}
113 ! {1 3}
114 ! exit
114 ! exit
115
115
@@ -139,9 +139,9 @@ Source
139Examples
139Examples
140--------
140--------
141
141
142− ~zod/try=> (fail [[1 1] "abc"])
142+ > (fail [[1 1] "abc"])
143 [p=[p=1 q=1] q=~]
143 [p=[p=1 q=1] q=~]
144− ~zod/try=> (fail [[p=1.337 q=70] "Parse me, please?"])
144+ > (fail [[p=1.337 q=70] "Parse me, please?"])
145 [p=[p=1.337 q=70] q=~]
145 [p=[p=1.337 q=70] q=~]
146
146
147
147
@@ -183,13 +183,13 @@ Source
183Examples
183Examples
184--------
184--------
185
185
186− ~zod/try=> (scan "200|mal|bon" ;~((glue bar) dem sym sym))
186+ > (scan "200|mal|bon" ;~((glue bar) dem sym sym))
187 [q=200 7.102.829 7.237.474]
187 [q=200 7.102.829 7.237.474]
188− ~zod/try=> `[@u @tas @tas]`(scan "200|mal|bon" ;~((glue bar) dem sym sym))
188+ > `[@u @tas @tas]`(scan "200|mal|bon" ;~((glue bar) dem sym sym))
189 [200 %mal %bon]
189 [200 %mal %bon]
190− ~zod/try=> (scan "200|;|bon" ;~((glue bar) dem sem sym))
190+ > (scan "200|;|bon" ;~((glue bar) dem sem sym))
191 [q=200 ~~~3b. 7.237.474]
191 [q=200 ~~~3b. 7.237.474]
192− ~zod/try=> (scan "200.;.bon" ;~((glue dot) dem sem sym))
192+ > (scan "200.;.bon" ;~((glue dot) dem sem sym))
193 [q=200 ~~~3b. 7.237.474]
193 [q=200 ~~~3b. 7.237.474]
194
194
195
195
@@ -228,12 +228,12 @@ Source
228Examples
228Examples
229--------
229--------
230
230
231− ~zod/try=> (scan "sas-/lo" (star ;~(less lus bar prn)))
231+ > (scan "sas-/lo" (star ;~(less lus bar prn)))
232 "sas-/lo"
232 "sas-/lo"
233− ~zod/try=> (scan "sas-/l+o" (star ;~(less lus bar prn)))
233+ > (scan "sas-/l+o" (star ;~(less lus bar prn)))
234 ! {1 8}
234 ! {1 8}
235 ! exit
235 ! exit
236− ~zod/try=> (scan "sas|-/lo" (star ;~(less lus bar prn)))
236+ > (scan "sas|-/lo" (star ;~(less lus bar prn)))
237 ! {1 5}
237 ! {1 5}
238 ! exit
238 ! exit
239
239
@@ -267,9 +267,9 @@ Source
267Examples
267Examples
268--------
268--------
269
269
270− ~zod/try=> `@t`(scan "%him" ;~(pfix cen sym))
270+ > `@t`(scan "%him" ;~(pfix cen sym))
271 'him'
271 'him'
272− ~zod/try=> (scan "+++10" ;~(pfix (star lus) dem))
272+ > (scan "+++10" ;~(pfix (star lus) dem))
273 q=10
273 q=10
274
274
275
275
@@ -313,11 +313,11 @@ Source
313Examples
313Examples
314--------
314--------
315
315
316− ~zod/try=> (scan "1..20" ;~(plug dem dot dot dem))
316+ > (scan "1..20" ;~(plug dem dot dot dem))
317 [q=1 ~~~. ~~~. q=20]
317 [q=1 ~~~. ~~~. q=20]
318− ~zod/try=> (scan "moke/~2014.1.1" ;~(plug sym fas nuck:so))
318+ > (scan "moke/~2014.1.1" ;~(plug sym fas nuck:so))
319 [1.701.539.693 ~~~2f. [% p=[p=~.da q=170.141.184.500.766.106.671.844.917.172.921.958.400]]]
319 [1.701.539.693 ~~~2f. [% p=[p=~.da q=170.141.184.500.766.106.671.844.917.172.921.958.400]]]
320− ~zod/try=> ;;(,[@tas @t ~ %da @da] (scan "moke/~2014.1.1" ;~(plug sym fas nuck:so)))
320+ > ;;(,[@tas @t ~ %da @da] (scan "moke/~2014.1.1" ;~(plug sym fas nuck:so)))
321 [%moke '/' ~ %da ~2014.1.1]
321 [%moke '/' ~ %da ~2014.1.1]
322
322
323
323
@@ -358,13 +358,13 @@ Source
358Examples
358Examples
359--------
359--------
360
360
361− ~zod/try=> `@t`(scan "+" ;~(pose lus tar cen))
361+ > `@t`(scan "+" ;~(pose lus tar cen))
362 '+'
362 '+'
363− ~zod/try=> `@t`(scan "*" ;~(pose lus tar cen))
363+ > `@t`(scan "*" ;~(pose lus tar cen))
364 '*'
364 '*'
365− ~zod/try=> `@t`(scan "%" ;~(pose lus tar cen))
365+ > `@t`(scan "%" ;~(pose lus tar cen))
366 '%'
366 '%'
367− ~zod/try=> `@t`(scan "-" ;~(pose lus tar cen))
367+ > `@t`(scan "-" ;~(pose lus tar cen))
368 ! {1 1}
368 ! {1 1}
369 ! exit
369 ! exit
370
370
@@ -401,9 +401,9 @@ Source
401Examples
401Examples
402--------
402--------
403
403
404− ~zod/try=> `@t`(scan "him%" ;~(sfix sym cen))
404+ > `@t`(scan "him%" ;~(sfix sym cen))
405 'him'
405 'him'
406− ~zod/try=> (scan "10+++" ;~(sfix dem (star lus)))
406+ > (scan "10+++" ;~(sfix dem (star lus)))
407 q=10
407 q=10
408
408
409
409
@@ -442,13 +442,13 @@ Source
442Examples
442Examples
443--------
443--------
444
444
445− ~zod/try=> (scan "~zod" scat:vast)
445+ > (scan "~zod" scat:vast)
446 [%dtzy p=%p q=0]
446 [%dtzy p=%p q=0]
447− ~zod/try=> (scan "%zod" scat:vast)
447+ > (scan "%zod" scat:vast)
448 [%dtzz p=%tas q=6.582.138]
448 [%dtzz p=%tas q=6.582.138]
449− ~zod/try=> (scan "%zod" ;~(simu cen scat:vast))
449+ > (scan "%zod" ;~(simu cen scat:vast))
450 [%dtzz p=%tas q=6.582.138]
450 [%dtzz p=%tas q=6.582.138]
451− ~zod/try=> (scan "~zod" ;~(simu cen scat:vast))
451+ > (scan "~zod" ;~(simu cen scat:vast))
452 ! {1 1}
452 ! {1 1}
453 ! exit
453 ! exit
454
454
docs/system/hoon/library/4f.md+76−76
@@ -33,11 +33,11 @@ Source
33Examples
33Examples
34--------
34--------
35
35
36− ~zod/try=> (scan "123" (bass 10 (star dit)))
36+ > (scan "123" (bass 10 (star dit)))
37 q=123
37 q=123
38− ~zod/try=> (scan "123" (bass 8 (star dit)))
38+ > (scan "123" (bass 8 (star dit)))
39 q=83
39 q=83
40− ~zod/try=> `@ub`(scan "123" (bass 8 (star dit)))
40+ > `@ub`(scan "123" (bass 8 (star dit)))
41 0b101.0011
41 0b101.0011
42
42
43
43
@@ -78,11 +78,11 @@ Source
78Examples
78Examples
79--------
79--------
80
80
81− ~zod/try=> (scan "123" (boss 10 (star dit)))
81+ > (scan "123" (boss 10 (star dit)))
82 q=321
82 q=321
83− ~zod/try=> `@t`(scan "bam" (boss 256 (star alp)))
83+ > `@t`(scan "bam" (boss 256 (star alp)))
84 'bam'
84 'bam'
85− ~zod/try=> `@ux`(scan "bam" (boss 256 (star alp)))
85+ > `@ux`(scan "bam" (boss 256 (star alp)))
86 0x6d.6162
86 0x6d.6162
87
87
88
88
@@ -122,9 +122,9 @@ Source
122Examples
122Examples
123--------
123--------
124
124
125− ~zod/try=> ((cold %foo (just 'a')) [[1 1] "abc"])
125+ > ((cold %foo (just 'a')) [[1 1] "abc"])
126 [p=[p=1 q=2] q=[~ u=[p=%foo q=[p=[p=1 q=2] q="bc"]]]]
126 [p=[p=1 q=2] q=[~ u=[p=%foo q=[p=[p=1 q=2] q="bc"]]]]
127− ~zod/try=> ((cold %foo (just 'a')) [[1 1] "bc"])
127+ > ((cold %foo (just 'a')) [[1 1] "bc"])
128 [p=[p=1 q=1] q=~]
128 [p=[p=1 q=1] q=~]
129
129
130
130
@@ -166,13 +166,13 @@ Source
166Examples
166Examples
167--------
167--------
168
168
169− ~zod/try=> ((cook ,@ud (just 'a')) [[1 1] "abc"])
169+ > ((cook ,@ud (just 'a')) [[1 1] "abc"])
170 [p=[p=1 q=2] q=[~ u=[p=97 q=[p=[p=1 q=2] q="bc"]]]]
170 [p=[p=1 q=2] q=[~ u=[p=97 q=[p=[p=1 q=2] q="bc"]]]]
171− ~zod/try=> ((cook ,@tas (just 'a')) [[1 1] "abc"])
171+ > ((cook ,@tas (just 'a')) [[1 1] "abc"])
172 [p=[p=1 q=2] q=[~ u=[p=%a q=[p=[p=1 q=2] q="bc"]]]]
172 [p=[p=1 q=2] q=[~ u=[p=%a q=[p=[p=1 q=2] q="bc"]]]]
173− ~zod/try=> ((cook |=(a=@ +(a)) (just 'a')) [[1 1] "abc"])
173+ > ((cook |=(a=@ +(a)) (just 'a')) [[1 1] "abc"])
174 [p=[p=1 q=2] q=[~ u=[p=98 q=[p=[p=1 q=2] q="bc"]]]]
174 [p=[p=1 q=2] q=[~ u=[p=98 q=[p=[p=1 q=2] q="bc"]]]]
175− ~zod/try=> ((cook |=(a=@ `@t`+(a)) (just 'a')) [[1 1] "abc"])
175+ > ((cook |=(a=@ `@t`+(a)) (just 'a')) [[1 1] "abc"])
176 [p=[p=1 q=2] q=[~ u=[p='b' q=[p=[p=1 q=2] q="bc"]]]]
176 [p=[p=1 q=2] q=[~ u=[p='b' q=[p=[p=1 q=2] q="bc"]]]]
177
177
178
178
@@ -210,11 +210,11 @@ Source
210Examples
210Examples
211--------
211--------
212
212
213− ~zod/try=> ((easy %foo) [[1 1] "abc"])
213+ > ((easy %foo) [[1 1] "abc"])
214 [p=[p=1 q=1] q=[~ [p=%foo q=[p=[p=1 q=1] q="abc"]]]]
214 [p=[p=1 q=1] q=[~ [p=%foo q=[p=[p=1 q=1] q="abc"]]]]
215− ~zod/try=> ((easy %foo) [[1 1] "bc"])
215+ > ((easy %foo) [[1 1] "bc"])
216 [p=[p=1 q=1] q=[~ [p=%foo q=[p=[p=1 q=1] q="bc"]]]]
216 [p=[p=1 q=1] q=[~ [p=%foo q=[p=[p=1 q=1] q="bc"]]]]
217− ~zod/try=> ((easy 'a') [[1 1] "bc"])
217+ > ((easy 'a') [[1 1] "bc"])
218 [p=[p=1 q=1] q=[~ [p='a' q=[p=[p=1 q=1] q="bc"]]]]
218 [p=[p=1 q=1] q=[~ [p='a' q=[p=[p=1 q=1] q="bc"]]]]
219
219
220
220
@@ -250,11 +250,11 @@ Source
250Examples
250Examples
251--------
251--------
252
252
253− ~zod/try=> ((full (just 'a')) [[1 1] "ab"])
253+ > ((full (just 'a')) [[1 1] "ab"])
254 [p=[p=1 q=2] q=~]
254 [p=[p=1 q=2] q=~]
255− ~zod/try=> ((full (jest 'ab')) [[1 1] "ab"])
255+ > ((full (jest 'ab')) [[1 1] "ab"])
256 [p=[p=1 q=3] q=[~ u=[p='ab' q=[p=[p=1 q=3] q=""]]]]
256 [p=[p=1 q=3] q=[~ u=[p='ab' q=[p=[p=1 q=3] q=""]]]]
257− ~zod/try=> ((full ;~(plug (just 'a') (just 'b'))) [[1 1] "ab"])
257+ > ((full ;~(plug (just 'a') (just 'b'))) [[1 1] "ab"])
258 [p=[p=1 q=3] q=[~ u=[p=[~~a ~~b] q=[p=[p=1 q=3] q=""]]]]
258 [p=[p=1 q=3] q=[~ u=[p=[~~a ~~b] q=[p=[p=1 q=3] q=""]]]]
259
259
260
260
@@ -289,9 +289,9 @@ Source
289Examples
289Examples
290--------
290--------
291
291
292− ~zod/try=> ((funk "abc prefix-" (jest 'abc')) [[1 1] "to be parsed"])
292+ > ((funk "abc prefix-" (jest 'abc')) [[1 1] "to be parsed"])
293 [p=[p=1 q=4] q=[~ [p='abc' q=[p=[p=1 q=4] q=" prefix-to be parsed"]]]]
293 [p=[p=1 q=4] q=[~ [p='abc' q=[p=[p=1 q=4] q=" prefix-to be parsed"]]]]
294− ~zod/try=> ((funk "parse" (just 'a')) [[1 4] " me"])
294+ > ((funk "parse" (just 'a')) [[1 4] " me"])
295 [p=[p=1 q=4] q=~]
295 [p=[p=1 q=4] q=~]
296
296
297
297
@@ -334,11 +334,11 @@ Source
334Examples
334Examples
335--------
335--------
336
336
337− ~zod/try=> (scan "abc" (star alf))
337+ > (scan "abc" (star alf))
338 "abc"
338 "abc"
339− ~zod/try=> (scan "abc" (here |*(^ +<) (star alf)))
339+ > (scan "abc" (here |*(^ +<) (star alf)))
340 [[[p=1 q=1] p=1 q=4] "abc"]
340 [[[p=1 q=1] p=1 q=4] "abc"]
341− ~zod/try=> (scan "abc" (star (here |*(^ +<) alf)))
341+ > (scan "abc" (star (here |*(^ +<) alf)))
342 ~[[[[p=1 q=1] p=1 q=2] ~~a] [[[p=1 q=2] p=1 q=3] ~~b] [[[p=1 q=3] p=1 q=4] ~~c]]
342 ~[[[[p=1 q=1] p=1 q=2] ~~a] [[[p=1 q=2] p=1 q=3] ~~b] [[[p=1 q=3] p=1 q=4] ~~c]]
343
343
344
344
@@ -377,9 +377,9 @@ Source
377Examples
377Examples
378--------
378--------
379
379
380− ~zod/try=> (scan "-40-" (ifix [hep hep] dem))
380+ > (scan "-40-" (ifix [hep hep] dem))
381 q=40
381 q=40
382− ~zod/try=> (scan "4my4" (ifix [dit dit] (star alf)))
382+ > (scan "4my4" (ifix [dit dit] (star alf)))
383 "my"
383 "my"
384
384
385
385
@@ -419,17 +419,17 @@ Source
419Examples
419Examples
420--------
420--------
421
421
422− ~zod/try=> ((jest 'abc') [[1 1] "abc"])
422+ > ((jest 'abc') [[1 1] "abc"])
423 [p=[p=1 q=4] q=[~ [p='abc' q=[p=[p=1 q=4] q=""]]]]
423 [p=[p=1 q=4] q=[~ [p='abc' q=[p=[p=1 q=4] q=""]]]]
424− ~zod/try=> (scan "abc" (jest 'abc'))
424+ > (scan "abc" (jest 'abc'))
425 'abc'
425 'abc'
426− ~zod/try=> (scan "abc" (jest 'acb'))
426+ > (scan "abc" (jest 'acb'))
427 ! {1 2}
427 ! {1 2}
428 ! 'syntax-error'
428 ! 'syntax-error'
429 ! exit
429 ! exit
430− ~zod/try=> ((jest 'john doe') [[1 1] "john smith"])
430+ > ((jest 'john doe') [[1 1] "john smith"])
431 [p=[p=1 q=6] q=~]
431 [p=[p=1 q=6] q=~]
432− ~zod/try=> ((jest 'john doe') [[1 1] "john doe"])
432+ > ((jest 'john doe') [[1 1] "john doe"])
433 [p=[p=1 q=9] q=[~ [p='john doe' q=[p=[p=1 q=9] q=""]]]]
433 [p=[p=1 q=9] q=[~ [p='john doe' q=[p=[p=1 q=9] q=""]]]]
434
434
435
435
@@ -471,15 +471,15 @@ Source
471Examples
471Examples
472--------
472--------
473
473
474− ~zod/try=> ((just 'a') [[1 1] "abc"])
474+ > ((just 'a') [[1 1] "abc"])
475 [p=[p=1 q=2] q=[~ [p=~~a q=[p=[p=1 q=2] q="bc"]]]]
475 [p=[p=1 q=2] q=[~ [p=~~a q=[p=[p=1 q=2] q="bc"]]]]
476− ~zod/try=> (scan "abc" (just 'a'))
476+ > (scan "abc" (just 'a'))
477 ! {1 2}
477 ! {1 2}
478 ! 'syntax-error'
478 ! 'syntax-error'
479 ! exit
479 ! exit
480− ~zod/try=> (scan "a" (just 'a'))
480+ > (scan "a" (just 'a'))
481 ~~a
481 ~~a
482− ~zod/try=> (scan "%" (just '%'))
482+ > (scan "%" (just '%'))
483 ~~~25.
483 ~~~25.
484
484
485
485
@@ -517,10 +517,10 @@ Source
517Examples
517Examples
518--------
518--------
519
519
520− ~zod/try=> |-(;~(plug prn ;~(pose $ (easy ~))))
520+ > |-(;~(plug prn ;~(pose $ (easy ~))))
521 ! rest-loop
521 ! rest-loop
522 ! exit
522 ! exit
523− ~zod/try=> |-(;~(plug prn ;~(pose (knee *tape |.(^$)) (easy ~))))
523+ > |-(;~(plug prn ;~(pose (knee *tape |.(^$)) (easy ~))))
524 < 1.obo
524 < 1.obo
525 [ c=c=tub=[p=[p=@ud q=@ud] q=""]
525 [ c=c=tub=[p=[p=@ud q=@ud] q=""]
526 b
526 b
@@ -535,7 +535,7 @@ Examples
535 ... 450 lines omitted ...
535 ... 450 lines omitted ...
536 ]
536 ]
537 >
537 >
538− ~zod/try=> (scan "abcd" |-(;~(plug prn ;~(pose (knee *tape |.(^$)) (easy ~)))))
538+ > (scan "abcd" |-(;~(plug prn ;~(pose (knee *tape |.(^$)) (easy ~)))))
539 [~~a "bcd"]
539 [~~a "bcd"]
540
540
541
541
@@ -577,13 +577,13 @@ Source
577Examples
577Examples
578--------
578--------
579
579
580− ~zod/try=> (scan "a" (mask "cba"))
580+ > (scan "a" (mask "cba"))
581 ~~a
581 ~~a
582− ~zod/try=> ((mask "abc") [[1 1] "abc"])
582+ > ((mask "abc") [[1 1] "abc"])
583 [p=[p=1 q=2] q=[~ [p=~~a q=[p=[p=1 q=2] q="bc"]]]]
583 [p=[p=1 q=2] q=[~ [p=~~a q=[p=[p=1 q=2] q="bc"]]]]
584− ~zod/try=> ((mask "abc") [[1 1] "bbc"])
584+ > ((mask "abc") [[1 1] "bbc"])
585 [p=[p=1 q=2] q=[~ [p=~~b q=[p=[p=1 q=2] q="bc"]]]]
585 [p=[p=1 q=2] q=[~ [p=~~b q=[p=[p=1 q=2] q="bc"]]]]
586− ~zod/try=> ((mask "abc") [[1 1] "dbc"])
586+ > ((mask "abc") [[1 1] "dbc"])
587 [p=[p=1 q=1] q=~]
587 [p=[p=1 q=1] q=~]
588
588
589
589
@@ -618,11 +618,11 @@ Source
618Examples
618Examples
619--------
619--------
620
620
621− ~zod/try=> (scan "" (more ace dem))
621+ > (scan "" (more ace dem))
622 ~
622 ~
623− ~zod/try=> (scan "40 20" (more ace dem))
623+ > (scan "40 20" (more ace dem))
624 [q=40 ~[q=20]]
624 [q=40 ~[q=20]]
625− ~zod/try=> (scan "40 20 60 1 5" (more ace dem))
625+ > (scan "40 20 60 1 5" (more ace dem))
626 [q=40 ~[q=20 q=60 q=1 q=5]]
626 [q=40 ~[q=20 q=60 q=1 q=5]]
627
627
628
628
@@ -657,11 +657,11 @@ Source
657Examples
657Examples
658--------
658--------
659
659
660− ~zod/try=> (scan "40 20" (most ace dem))
660+ > (scan "40 20" (most ace dem))
661 [q=40 ~[q=20]]
661 [q=40 ~[q=20]]
662− ~zod/try=> (scan "40 20 60 1 5" (most ace dem))
662+ > (scan "40 20 60 1 5" (most ace dem))
663 [q=40 ~[q=20 q=60 q=1 q=5]]
663 [q=40 ~[q=20 q=60 q=1 q=5]]
664− ~zod/try=> (scan "" (most ace dem))
664+ > (scan "" (most ace dem))
665 ! {1 1}
665 ! {1 1}
666 ! exit
666 ! exit
667
667
@@ -699,9 +699,9 @@ Source
699Examples
699Examples
700--------
700--------
701
701
702− ~zod/try=> (next [[1 1] "ebc"])
702+ > (next [[1 1] "ebc"])
703 [p=[p=1 q=2] q=[~ [p=~~e q=[p=[p=1 q=2] q="bc"]]]]
703 [p=[p=1 q=2] q=[~ [p=~~e q=[p=[p=1 q=2] q="bc"]]]]
704− ~zod/try=> (next [[1 1] "john jumps jones"])
704+ > (next [[1 1] "john jumps jones"])
705 [p=[p=1 q=2] q=[~ [p=~~j q=[p=[p=1 q=2] q="ohn jumps jones"]]]]
705 [p=[p=1 q=2] q=[~ [p=~~j q=[p=[p=1 q=2] q="ohn jumps jones"]]]]
706
706
707
707
@@ -733,13 +733,13 @@ Source
733Examples
733Examples
734--------
734--------
735
735
736− ~zod/try=> (scan ">>>>" (cook lent (plus gar)))
736+ > (scan ">>>>" (cook lent (plus gar)))
737 4
737 4
738− ~zod/try=> (scan "- - " (plus ;~(pose ace hep)))
738+ > (scan "- - " (plus ;~(pose ace hep)))
739 [~~- " - "]
739 [~~- " - "]
740− ~zod/try=> `tape`(scan "- - " (plus ;~(pose ace hep)))
740+ > `tape`(scan "- - " (plus ;~(pose ace hep)))
741 "- - "
741 "- - "
742− ~zod/try=> `(pole ,@t)`(scan "- - " (plus ;~(pose ace hep)))
742+ > `(pole ,@t)`(scan "- - " (plus ;~(pose ace hep)))
743 ['-' [' ' [' ' ['-' [' ' ~]]]]]
743 ['-' [' ' [' ' ['-' [' ' ~]]]]]
744
744
745
745
@@ -780,9 +780,9 @@ Source
780Examples
780Examples
781--------
781--------
782
782
783− ~zod/try=> ((sear |=(a/* ?@(a (some a) ~)) (just `a`)) [[1 1] "abc"])
783+ > ((sear |=(a/* ?@(a (some a) ~)) (just `a`)) [[1 1] "abc"])
784 [p=[p=1 q=2] q=[~ u=[p=97 q=[p=[p=1 q=2] q="bc"]]]]
784 [p=[p=1 q=2] q=[~ u=[p=97 q=[p=[p=1 q=2] q="bc"]]]]
785− ~zod/try=> ((sear |=(* ~) (just 'a')) [[1 1] "abc"])
785+ > ((sear |=(* ~) (just 'a')) [[1 1] "abc"])
786 [p=[p=1 q=2] q=~]
786 [p=[p=1 q=2] q=~]
787
787
788
788
@@ -825,11 +825,11 @@ Source
825Examples
825Examples
826--------
826--------
827
827
828− ~zod/try=> ((shim 'a' 'z') [[1 1] "abc"])
828+ > ((shim 'a' 'z') [[1 1] "abc"])
829 [p=[p=1 q=2] q=[~ [p=~~a q=[p=[p=1 q=2] q="bc"]]]]
829 [p=[p=1 q=2] q=[~ [p=~~a q=[p=[p=1 q=2] q="bc"]]]]
830− ~zod/try=> ((shim 'a' 'Z') [[1 1] "abc"])
830+ > ((shim 'a' 'Z') [[1 1] "abc"])
831 [p=[p=1 q=1] q=~]
831 [p=[p=1 q=1] q=~]
832− ~zod/try=> ((shim 'a' 'Z') [[1 1] "Abc"])
832+ > ((shim 'a' 'Z') [[1 1] "Abc"])
833 [p=[p=1 q=2] q=[~ [p=~~~41. q=[p=[p=1 q=2] q="bc"]]]]
833 [p=[p=1 q=2] q=[~ [p=~~~41. q=[p=[p=1 q=2] q="bc"]]]]
834
834
835
835
@@ -867,9 +867,9 @@ Source
867Examples
867Examples
868--------
868--------
869
869
870− ~zod/try=> (scan "20+5+110" ((slug add) lus dem))
870+ > (scan "20+5+110" ((slug add) lus dem))
871 135
871 135
872− ~zod/try=> `@t`(scan "a b c" ((slug |=(a/[@ @t] (cat 3 a))) ace alp))
872+ > `@t`(scan "a b c" ((slug |=(a/[@ @t] (cat 3 a))) ace alp))
873 'abc'
873 'abc'
874
874
875
875
@@ -910,11 +910,11 @@ Source
910Examples
910Examples
911--------
911--------
912
912
913− ~zod/try=> ((stag %foo (just 'a')) [[1 1] "abc"])
913+ > ((stag %foo (just 'a')) [[1 1] "abc"])
914 [p=[p=1 q=2] q=[~ u=[p=[%foo ~~a] q=[p=[p=1 q=2] q="bc"]]]]
914 [p=[p=1 q=2] q=[~ u=[p=[%foo ~~a] q=[p=[p=1 q=2] q="bc"]]]]
915− ~zod/try=> ((stag "xyz" (jest 'abc')) [[1 1] "abc"])
915+ > ((stag "xyz" (jest 'abc')) [[1 1] "abc"])
916 [p=[p=1 q=4] q=[~ u=[p=["xyz" 'abc'] q=[p=[p=1 q=4] q=""]]]]
916 [p=[p=1 q=4] q=[~ u=[p=["xyz" 'abc'] q=[p=[p=1 q=4] q=""]]]]
917− ~zod/try=> ((stag 10.000 (shim 0 100)) [[1 1] "abc"])
917+ > ((stag 10.000 (shim 0 100)) [[1 1] "abc"])
918 [p=[p=1 q=2] q=[~ u=[p=[10.000 ~~a] q=[p=[p=1 q=2] q="bc"]]]]
918 [p=[p=1 q=2] q=[~ u=[p=[10.000 ~~a] q=[p=[p=1 q=2] q="bc"]]]]
919
919
920
920
@@ -941,19 +941,19 @@ Produces
941Examples
941Examples
942--------
942--------
943
943
944− ~zod/try=> (scan "aaaaa" (just 'a'))
944+ > (scan "aaaaa" (just 'a'))
945 ! {1 2}
945 ! {1 2}
946 ! 'syntax-error'
946 ! 'syntax-error'
947 ! exit
947 ! exit
948− ~zod/try=> (scan "aaaaa" (star (just 'a')))
948+ > (scan "aaaaa" (star (just 'a')))
949 "aaaaa"
949 "aaaaa"
950− ~zod/try=> (scan "abcdef" (star (just 'a')))
950+ > (scan "abcdef" (star (just 'a')))
951 ! {1 2}
951 ! {1 2}
952 ! 'syntax-error'
952 ! 'syntax-error'
953 ! exit
953 ! exit
954− ~zod/try=> (scan "abcabc" (star (jest 'abc')))
954+ > (scan "abcabc" (star (jest 'abc')))
955 <|abc abc|>
955 <|abc abc|>
956− ~zod/try=> (scan "john smith" (star (shim 0 200)))
956+ > (scan "john smith" (star (shim 0 200)))
957 "john smith"
957 "john smith"
958
958
959
959
@@ -989,7 +989,7 @@ Source
989Examples
989Examples
990--------
990--------
991
991
992− ~zod/try=> (stet (limo [[5 (just 'a')] [1 (jest 'abc')] [[1 1] (shim 0 200)]
992+ > (stet (limo [[5 (just 'a')] [1 (jest 'abc')] [[1 1] (shim 0 200)]
993 [[1 10] (cold %foo (just 'a'))]~]))
993 [[1 10] (cold %foo (just 'a'))]~]))
994 ~[
994 ~[
995 [p=5 q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
995 [p=5 q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
@@ -997,12 +997,12 @@ Examples
997 [p=[1 1] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
997 [p=[1 1] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
998 [p=[1 10] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
998 [p=[1 10] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
999 ]
999 ]
1000− ~zod/try=> [[[1 1] (just 'a')] [[2 1] (shim 0 200)] ~]
1000+ > [[[1 1] (just 'a')] [[2 1] (shim 0 200)] ~]
1001 [ [[1 1] <1.tnv [tub=[p=[p=@ud q=@ud] q=""] <1.ktu [daf=@tD <414.fvk 101.jzo 1.ypj %164>]>]>]
1001 [ [[1 1] <1.tnv [tub=[p=[p=@ud q=@ud] q=""] <1.ktu [daf=@tD <414.fvk 101.jzo 1.ypj %164>]>]>]
1002 [[2 1] <1.fvg [tub=[p=[p=@ud q=@ud] q=""] <1.khu [[les=@ mos=@] <414.fvk 101.jzo 1.ypj %164>]>]>]
1002 [[2 1] <1.fvg [tub=[p=[p=@ud q=@ud] q=""] <1.khu [[les=@ mos=@] <414.fvk 101.jzo 1.ypj %164>]>]>]
1003 ~
1003 ~
1004 ]
1004 ]
1005− ~zod/try=> (stet (limo [[[1 1] (just 'a')] [[2 1] (shim 0 200)] ~]))
1005+ > (stet (limo [[[1 1] (just 'a')] [[2 1] (shim 0 200)] ~]))
1006 ~[
1006 ~[
1007 [p=[1 1] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
1007 [p=[1 1] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
1008 [p=[2 1] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
1008 [p=[2 1] q=<1.lrk [tub=[p=[p=@ud q=@ud] q=""] <1.nqy [daf=@tD <394.imz 97.kdz 1.xlc %164>]>]>]
@@ -1117,9 +1117,9 @@ Source
1117Examples
1117Examples
1118--------
1118--------
1119
1119
1120− ~zod/try=> (scan "abc" (stir *@ add prn))
1120+ > (scan "abc" (stir *@ add prn))
1121 294
1121 294
1122− ~zod/try=> (roll "abc" add)
1122+ > (roll "abc" add)
1123 b=294
1123 b=294
1124
1124
1125
1125
@@ -1169,11 +1169,11 @@ Source
1169Examples
1169Examples
1170--------
1170--------
1171
1171
1172− ~zod/try=> ((stun [5 10] prn) [1 1] "aquickbrownfoxran")
1172+ > ((stun [5 10] prn) [1 1] "aquickbrownfoxran")
1173 [p=[p=1 q=11] q=[~ [p="aquickbrow" q=[p=[p=1 q=11] q="nfoxran"]]]]
1173 [p=[p=1 q=11] q=[~ [p="aquickbrow" q=[p=[p=1 q=11] q="nfoxran"]]]]
1174− ~zod/try=> ((stun [5 10] prn) [1 1] "aquickbro")
1174+ > ((stun [5 10] prn) [1 1] "aquickbro")
1175 [p=[p=1 q=10] q=[~ [p="aquickbro" q=[p=[p=1 q=10] q=""]]]]
1175 [p=[p=1 q=10] q=[~ [p="aquickbro" q=[p=[p=1 q=10] q=""]]]]
1176− ~zod/try=> ((stun [5 10] prn) [1 1] "aqui")
1176+ > ((stun [5 10] prn) [1 1] "aqui")
1177 [p=[p=1 q=5] q=~]
1177 [p=[p=1 q=5] q=~]
1178
1178
1179***
1179***
docs/system/hoon/library/4g.md+15−15
@@ -27,15 +27,15 @@ Source
27Examples
27Examples
28--------
28--------
29
29
30− ~zod/try=> (rash 'I was the world in which I walked, and what I saw' (star (shim 0 200)))
30+ > (rash 'I was the world in which I walked, and what I saw' (star (shim 0 200)))
31 "I was the world in which I walked, and what I saw"
31 "I was the world in which I walked, and what I saw"
32− ~zod/try=> (rash 'abc' (just 'a'))
32+ > (rash 'abc' (just 'a'))
33 ! {1 2}
33 ! {1 2}
34 ! 'syntax-error'
34 ! 'syntax-error'
35 ! exit
35 ! exit
36− ~zod/try=> (rash 'abc' (jest 'abc'))
36+ > (rash 'abc' (jest 'abc'))
37 'abc'
37 'abc'
38− `~zod/try=> (rash 'abc' (jest 'ab'))
38+ `> (rash 'abc' (jest 'ab'))
39 ! {1 3}
39 ! {1 3}
40 ! 'syntax-error'
40 ! 'syntax-error'
41 ! exit
41 ! exit
@@ -71,15 +71,15 @@ Source
71Examples
71Examples
72--------
72--------
73
73
74− ~zod/try=> (rush 'I was the world in which I walked, and what I saw' (star (shim 0 200)))
74+ > (rush 'I was the world in which I walked, and what I saw' (star (shim 0 200)))
75 [~ "I was the world in which I walked, and what I saw"]
75 [~ "I was the world in which I walked, and what I saw"]
76− ~zod/try=> (rush 'abc' (just 'a'))
76+ > (rush 'abc' (just 'a'))
77 ~
77 ~
78− ~zod/try=> (rush 'abc' (jest 'abc'))
78+ > (rush 'abc' (jest 'abc'))
79 [~ 'abc']
79 [~ 'abc']
80− ~zod/try=> (rush 'abc' (jest 'ac'))
80+ > (rush 'abc' (jest 'ac'))
81 ~
81 ~
82− ~zod/try=> (rush 'abc' (jest 'ab'))
82+ > (rush 'abc' (jest 'ab'))
83 ~
83 ~
84
84
85
85
@@ -115,11 +115,11 @@ Source
115Examples
115Examples
116--------
116--------
117
117
118− ~zod/try=> (rust "I was the world in which I walked, and what I saw" (star (shim 0 200)))
118+ > (rust "I was the world in which I walked, and what I saw" (star (shim 0 200)))
119 [~ "I was the world in which I walked, and what I saw"]
119 [~ "I was the world in which I walked, and what I saw"]
120− ~zod/try=> (rust "Or heard or felt came not but from myself;" (star (shim 0 200)))
120+ > (rust "Or heard or felt came not but from myself;" (star (shim 0 200)))
121 [~ "Or heard or felt came not but from myself;"]
121 [~ "Or heard or felt came not but from myself;"]
122− ~zod/try=> (rust "And there I found myself more truly and more strange." (jest 'And there I'))
122+ > (rust "And there I found myself more truly and more strange." (jest 'And there I'))
123 ~
123 ~
124
124
125
125
@@ -157,11 +157,11 @@ Source
157Examples
157Examples
158--------
158--------
159
159
160− ~zod/try=> (scan "I was the world in which I walked, and what I saw" (star (shim 0 200)))
160+ > (scan "I was the world in which I walked, and what I saw" (star (shim 0 200)))
161 "I was the world in which I walked, and what I saw"
161 "I was the world in which I walked, and what I saw"
162− ~zod/try=> (scan "Or heard or felt came not but from myself;" (star (shim 0 200)))
162+ > (scan "Or heard or felt came not but from myself;" (star (shim 0 200)))
163 "Or heard or felt came not but from myself;"
163 "Or heard or felt came not but from myself;"
164− ~zod/try=> (scan "And there I found myself more truly and more strange." (jest 'And there I'))
164+ > (scan "And there I found myself more truly and more strange." (jest 'And there I'))
165 ! {1 12}
165 ! {1 12}
166 ! 'syntax-error'
166 ! 'syntax-error'
167 ! exit
167 ! exit
docs/system/hoon/library/4h.md+135−135
@@ -13,13 +13,13 @@ Source
13Examples
13Examples
14--------
14--------
15
15
16− ~zod/try=> (scan " " ace)
16+ > (scan " " ace)
17 ~~.
17 ~~.
18− ~zod/try=> `cord`(scan " " ace)
18+ > `cord`(scan " " ace)
19 ' '
19 ' '
20− ~zod/try=> (ace [[1 1] " "])
20+ > (ace [[1 1] " "])
21 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q=""]]]]
21 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q=""]]]]
22− ~zod/try=> (ace [[1 1] " abc "])
22+ > (ace [[1 1] " abc "])
23 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q="abc "]]]]
23 [p=[p=1 q=2] q=[~ [p=~~. q=[p=[p=1 q=2] q="abc "]]]]
24
24
25
25
@@ -39,13 +39,13 @@ Source
39Examples
39Examples
40--------
40--------
41
41
42− ~zod/try=> (scan "|" bar)
42+ > (scan "|" bar)
43 ~~~7c.
43 ~~~7c.
44− ~zod/try=> `cord`(scan "|" bar)
44+ > `cord`(scan "|" bar)
45 '|'
45 '|'
46− ~zod/try=> (bar [[1 1] "|"])
46+ > (bar [[1 1] "|"])
47 [p=[p=1 q=2] q=[~ [p=~~~7c. q=[p=[p=1 q=2] q=""]]]]
47 [p=[p=1 q=2] q=[~ [p=~~~7c. q=[p=[p=1 q=2] q=""]]]]
48− ~zod/try=> (bar [[1 1] "|="])
48+ > (bar [[1 1] "|="])
49 [p=[p=1 q=2] q=[~ [p=~~~7c. q=[p=[p=1 q=2] q="="]]]]
49 [p=[p=1 q=2] q=[~ [p=~~~7c. q=[p=[p=1 q=2] q="="]]]]
50
50
51
51
@@ -67,15 +67,15 @@ Source
67Examples
67Examples
68--------
68--------
69
69
70− ~zod/try=> (scan "\\" bas)
70+ > (scan "\\" bas)
71 ~~~5c.
71 ~~~5c.
72− ~zod/try=> `cord`(scan "\\" bas)
72+ > `cord`(scan "\\" bas)
73 '\'
73 '\'
74− ~zod/try=> (bas [[1 1] "\"])
74+ > (bas [[1 1] "\"])
75 ~ <syntax error at [1 18]>
75 ~ <syntax error at [1 18]>
76− ~zod/try=> (bas [[1 1] "\\"])
76+ > (bas [[1 1] "\\"])
77 [p=[p=1 q=2] q=[~ [p=~~~5c. q=[p=[p=1 q=2] q=""]]]]
77 [p=[p=1 q=2] q=[~ [p=~~~5c. q=[p=[p=1 q=2] q=""]]]]
78− ~zod/try=> (bas [[1 1] "\""])
78+ > (bas [[1 1] "\""])
79 [p=[p=1 q=1] q=~]
79 [p=[p=1 q=1] q=~]
80
80
81
81
@@ -95,13 +95,13 @@ Source
95Examples
95Examples
96--------
96--------
97
97
98− ~zod/try=> (scan "$" buc)
98+ > (scan "$" buc)
99 ~~~24.
99 ~~~24.
100− ~zod/try=> `cord`(scan "$" buc)
100+ > `cord`(scan "$" buc)
101 '$'
101 '$'
102− ~zod/try=> (buc [[1 1] "$"])
102+ > (buc [[1 1] "$"])
103 [p=[p=1 q=2] q=[~ [p=~~~24. q=[p=[p=1 q=2] q=""]]]]
103 [p=[p=1 q=2] q=[~ [p=~~~24. q=[p=[p=1 q=2] q=""]]]]
104− ~zod/try=> (buc [[1 1] "$%"])
104+ > (buc [[1 1] "$%"])
105 [p=[p=1 q=2] q=[~ [p=~~~24. q=[p=[p=1 q=2] q="%"]]]]
105 [p=[p=1 q=2] q=[~ [p=~~~24. q=[p=[p=1 q=2] q="%"]]]]
106
106
107
107
@@ -121,13 +121,13 @@ Source
121Examples
121Examples
122--------
122--------
123
123
124− ~zod/try=> (scan "_" cab)
124+ > (scan "_" cab)
125 ~~~5f.
125 ~~~5f.
126− ~zod/try=> `cord`(scan "_" cab)
126+ > `cord`(scan "_" cab)
127 '_'
127 '_'
128− ~zod/try=> (cab [[1 1] "_"])
128+ > (cab [[1 1] "_"])
129 [p=[p=1 q=2] q=[~ [p=~~~5f. q=[p=[p=1 q=2] q=""]]]]
129 [p=[p=1 q=2] q=[~ [p=~~~5f. q=[p=[p=1 q=2] q=""]]]]
130− ~zod/try=> (cab [[1 1] "|_"])
130+ > (cab [[1 1] "|_"])
131 [p=[p=1 q=1] q=~]
131 [p=[p=1 q=1] q=~]
132
132
133
133
@@ -147,13 +147,13 @@ Source
147Examples
147Examples
148--------
148--------
149
149
150− ~zod/try=> (scan "%" cen)
150+ > (scan "%" cen)
151 ~~~25.
151 ~~~25.
152− ~zod/try=> `cord`(scan "%" cen)
152+ > `cord`(scan "%" cen)
153 '%'
153 '%'
154− ~zod/try=> (cen [[1 1] "%"])
154+ > (cen [[1 1] "%"])
155 [p=[p=1 q=2] q=[~ [p=~~~25. q=[p=[p=1 q=2] q=""]]]]
155 [p=[p=1 q=2] q=[~ [p=~~~25. q=[p=[p=1 q=2] q=""]]]]
156− ~zod/try=> (cen [[1 1] "%^"])
156+ > (cen [[1 1] "%^"])
157 [p=[p=1 q=2] q=[~ [p=~~~25. q=[p=[p=1 q=2] q="^"]]]]
157 [p=[p=1 q=2] q=[~ [p=~~~25. q=[p=[p=1 q=2] q="^"]]]]
158
158
159
159
@@ -173,13 +173,13 @@ Source
173Examples
173Examples
174--------
174--------
175
175
176− ~zod/try=> (scan ":" col)
176+ > (scan ":" col)
177 ~~~3a.
177 ~~~3a.
178− ~zod/try=> `cord`(scan ":" col)
178+ > `cord`(scan ":" col)
179 ':'
179 ':'
180− ~zod/try=> (col [[1 1] ":"])
180+ > (col [[1 1] ":"])
181 [p=[p=1 q=2] q=[~ [p=~~~3a. q=[p=[p=1 q=2] q=""]]]]
181 [p=[p=1 q=2] q=[~ [p=~~~3a. q=[p=[p=1 q=2] q=""]]]]
182− ~zod/try=> (col [[1 1] ":-"])
182+ > (col [[1 1] ":-"])
183 [p=[p=1 q=2] q=[~ [p=~~~3a. q=[p=[p=1 q=2] q="-"]]]]
183 [p=[p=1 q=2] q=[~ [p=~~~3a. q=[p=[p=1 q=2] q="-"]]]]
184
184
185
185
@@ -199,13 +199,13 @@ Source
199Examples
199Examples
200--------
200--------
201
201
202− ~zod/try=> (scan "," com)
202+ > (scan "," com)
203 ~~~2c.
203 ~~~2c.
204− ~zod/try=> `cord`(scan "," com)
204+ > `cord`(scan "," com)
205 ','
205 ','
206− ~zod/try=> (com [[1 1] ","])
206+ > (com [[1 1] ","])
207 [p=[p=1 q=2] q=[~ [p=~~~2c. q=[p=[p=1 q=2] q=""]]]]
207 [p=[p=1 q=2] q=[~ [p=~~~2c. q=[p=[p=1 q=2] q=""]]]]
208− ~zod/try=> (com [[1 1] "not com"])
208+ > (com [[1 1] "not com"])
209 [p=[p=1 q=1] q=~]
209 [p=[p=1 q=1] q=~]
210
210
211
211
@@ -225,15 +225,15 @@ Source
225Examples
225Examples
226--------
226--------
227
227
228− ~zod/try=> (scan "\"" doq)
228+ > (scan "\"" doq)
229 ~~~22.
229 ~~~22.
230− ~zod/try=> `cord`(scan "\"" doq)
230+ > `cord`(scan "\"" doq)
231 '"'
231 '"'
232− ~zod/try=> (doq [[1 1] "\""])
232+ > (doq [[1 1] "\""])
233 [p=[p=1 q=2] q=[~ [p=~~~22. q=[p=[p=1 q=2] q=""]]]]
233 [p=[p=1 q=2] q=[~ [p=~~~22. q=[p=[p=1 q=2] q=""]]]]
234− ~zod/try=> (doq [[1 1] "not successfully parsed"])
234+ > (doq [[1 1] "not successfully parsed"])
235 [p=[p=1 q=1] q=~]
235 [p=[p=1 q=1] q=~]
236− ~zod/try=> (scan "see?" doq)
236+ > (scan "see?" doq)
237 ! {1 1}
237 ! {1 1}
238 ! 'syntax-error'
238 ! 'syntax-error'
239 ! exit
239 ! exit
@@ -255,13 +255,13 @@ Source
255Examples
255Examples
256--------
256--------
257
257
258− ~zod/try=> (scan "." dot)
258+ > (scan "." dot)
259 ~~~.
259 ~~~.
260− ~zod/try=> `cord`(scan "." dot)
260+ > `cord`(scan "." dot)
261 '.'
261 '.'
262− ~zod/try=> (dot [[1 1] "."])
262+ > (dot [[1 1] "."])
263 [p=[p=1 q=2] q=[~ [p=~~~. q=[p=[p=1 q=2] q=""]]]]
263 [p=[p=1 q=2] q=[~ [p=~~~. q=[p=[p=1 q=2] q=""]]]]
264− ~zod/try=> (dot [[1 1] ".^"])
264+ > (dot [[1 1] ".^"])
265 [p=[p=1 q=2] q=[~ [p=~~~. q=[p=[p=1 q=2] q="^"]]]]
265 [p=[p=1 q=2] q=[~ [p=~~~. q=[p=[p=1 q=2] q="^"]]]]
266
266
267
267
@@ -281,13 +281,13 @@ Source
281Examples
281Examples
282--------
282--------
283
283
284− ~zod/try=> (scan "/" fas)
284+ > (scan "/" fas)
285 ~~~2f.
285 ~~~2f.
286− ~zod/try=> `cord`(scan "/" fas)
286+ > `cord`(scan "/" fas)
287 '/'
287 '/'
288− ~zod/try=> (fas [[1 1] "/"])
288+ > (fas [[1 1] "/"])
289 [p=[p=1 q=2] q=[~ [p=~~~2f. q=[p=[p=1 q=2] q=""]]]]
289 [p=[p=1 q=2] q=[~ [p=~~~2f. q=[p=[p=1 q=2] q=""]]]]
290− ~zod/try=> (fas [[1 1] "|/"])
290+ > (fas [[1 1] "|/"])
291 [p=[p=1 q=1] q=~]
291 [p=[p=1 q=1] q=~]
292
292
293
293
@@ -307,15 +307,15 @@ Source
307Examples
307Examples
308--------
308--------
309
309
310− ~zod/try=> (scan "<" gal)
310+ > (scan "<" gal)
311 ~~~3c.
311 ~~~3c.
312− ~zod/try=> `cord`(scan "<" gal)
312+ > `cord`(scan "<" gal)
313 '<'
313 '<'
314− ~zod/try=> (gal [[1 1] "<"])
314+ > (gal [[1 1] "<"])
315 [p=[p=1 q=2] q=[~ [p=~~~3c. q=[p=[p=1 q=2] q=""]]]]
315 [p=[p=1 q=2] q=[~ [p=~~~3c. q=[p=[p=1 q=2] q=""]]]]
316− ~zod/try=> (gal [[1 1] "<+"])
316+ > (gal [[1 1] "<+"])
317 [p=[p=1 q=2] q=[~ [p=~~~3c. q=[p=[p=1 q=2] q="+"]]]]
317 [p=[p=1 q=2] q=[~ [p=~~~3c. q=[p=[p=1 q=2] q="+"]]]]
318− ~zod/try=> (gal [[1 1] "+<"])
318+ > (gal [[1 1] "+<"])
319 [p=[p=1 q=1] q=~]
319 [p=[p=1 q=1] q=~]
320
320
321
321
@@ -335,13 +335,13 @@ Source
335Examples
335Examples
336--------
336--------
337
337
338− ~zod/try=> (scan ">" gar)
338+ > (scan ">" gar)
339 ~~~3e.
339 ~~~3e.
340− ~zod/try=> `cord`(scan ">" gar)
340+ > `cord`(scan ">" gar)
341 '>'
341 '>'
342− ~zod/try=> (gar [[1 1] ">"])
342+ > (gar [[1 1] ">"])
343 [p=[p=1 q=2] q=[~ [p=~~~3e. q=[p=[p=1 q=2] q=""]]]]
343 [p=[p=1 q=2] q=[~ [p=~~~3e. q=[p=[p=1 q=2] q=""]]]]
344− ~zod/try=> (gar [[1 1] "=>"])
344+ > (gar [[1 1] "=>"])
345 [p=[p=1 q=1] q=~]
345 [p=[p=1 q=1] q=~]
346
346
347
347
@@ -361,13 +361,13 @@ Source
361Examples
361Examples
362--------
362--------
363
363
364− ~zod/try=> (scan "#" hax)
364+ > (scan "#" hax)
365 ~~~23.
365 ~~~23.
366− ~zod/try=> `cord`(scan "#" hax)
366+ > `cord`(scan "#" hax)
367 '#'
367 '#'
368− ~zod/try=> (hax [[1 1] "#"])
368+ > (hax [[1 1] "#"])
369 [p=[p=1 q=2] q=[~ [p=~~~23. q=[p=[p=1 q=2] q=""]]]]
369 [p=[p=1 q=2] q=[~ [p=~~~23. q=[p=[p=1 q=2] q=""]]]]
370− ~zod/try=> (hax [[1 1] "#!"])
370+ > (hax [[1 1] "#!"])
371 [p=[p=1 q=2] q=[~ [p=~~~23. q=[p=[p=1 q=2] q="!"]]]]
371 [p=[p=1 q=2] q=[~ [p=~~~23. q=[p=[p=1 q=2] q="!"]]]]
372
372
373
373
@@ -387,13 +387,13 @@ Source
387Examples
387Examples
388--------
388--------
389
389
390− ~zod/try=> (scan "-" hep)
390+ > (scan "-" hep)
391 ~~-
391 ~~-
392− ~zod/try=> `cord`(scan "-" hep)
392+ > `cord`(scan "-" hep)
393 '-'
393 '-'
394− ~zod/try=> (hep [[1 1] "-"])
394+ > (hep [[1 1] "-"])
395 [p=[p=1 q=2] q=[~ [p=~~- q=[p=[p=1 q=2] q=""]]]]
395 [p=[p=1 q=2] q=[~ [p=~~- q=[p=[p=1 q=2] q=""]]]]
396− ~zod/try=> (hep [[1 1] ":-"])
396+ > (hep [[1 1] ":-"])
397 [p=[p=1 q=1] q=~]
397 [p=[p=1 q=1] q=~]
398
398
399
399
@@ -415,13 +415,13 @@ Source
415Examples
415Examples
416--------
416--------
417
417
418− ~zod/try=> (scan "\{" kel)
418+ > (scan "\{" kel)
419 ~~~7b.
419 ~~~7b.
420− ~zod/try=> `cord`(scan "\{" kel)
420+ > `cord`(scan "\{" kel)
421 '{'
421 '{'
422− ~zod/try=> (kel [[1 1] "\{"])
422+ > (kel [[1 1] "\{"])
423 [p=[p=1 q=2] q=[~ [p=~~~7b. q=[p=[p=1 q=2] q=""]]]]
423 [p=[p=1 q=2] q=[~ [p=~~~7b. q=[p=[p=1 q=2] q=""]]]]
424− ~zod/try=> (kel [[1 1] " \{"])
424+ > (kel [[1 1] " \{"])
425 [p=[p=1 q=1] q=~]
425 [p=[p=1 q=1] q=~]
426
426
427
427
@@ -443,13 +443,13 @@ Source
443Examples
443Examples
444--------
444--------
445
445
446− ~zod/try=> (scan "}" ker)
446+ > (scan "}" ker)
447 ~~~7d.
447 ~~~7d.
448− ~zod/try=> `cord`(scan "}" ker)
448+ > `cord`(scan "}" ker)
449 '}'
449 '}'
450− ~zod/try=> (ker [[1 1] "}"])
450+ > (ker [[1 1] "}"])
451 [p=[p=1 q=2] q=[~ [p=~~~7d. q=[p=[p=1 q=2] q=""]]]]
451 [p=[p=1 q=2] q=[~ [p=~~~7d. q=[p=[p=1 q=2] q=""]]]]
452− ~zod/try=> (ker [[1 1] "\{}"])
452+ > (ker [[1 1] "\{}"])
453 [p=[p=1 q=1] q=~]
453 [p=[p=1 q=1] q=~]
454
454
455
455
@@ -469,13 +469,13 @@ Source
469Examples
469Examples
470--------
470--------
471
471
472− ~zod/try=> (scan "^" ket)
472+ > (scan "^" ket)
473 ~~~5e.
473 ~~~5e.
474− ~zod/try=> `cord`(scan "^" ket)
474+ > `cord`(scan "^" ket)
475 '^'
475 '^'
476− ~zod/try=> (ket [[1 1] "^"])
476+ > (ket [[1 1] "^"])
477 [p=[p=1 q=2] q=[~ [p=~~~5e. q=[p=[p=1 q=2] q=""]]]]
477 [p=[p=1 q=2] q=[~ [p=~~~5e. q=[p=[p=1 q=2] q=""]]]]
478− ~zod/try=> (ket [[1 1] ".^"])
478+ > (ket [[1 1] ".^"])
479 [p=[p=1 q=1] q=~]
479 [p=[p=1 q=1] q=~]
480
480
481
481
@@ -494,13 +494,13 @@ Source
494Examples
494Examples
495--------
495--------
496
496
497− ~zod/try=> (scan "+" lus)
497+ > (scan "+" lus)
498 ~~~2b.
498 ~~~2b.
499− ~zod/try=> `cord`(scan "+" lus)
499+ > `cord`(scan "+" lus)
500 '+'
500 '+'
501− ~zod/try=> (lus [[1 1] "+"])
501+ > (lus [[1 1] "+"])
502 [p=[p=1 q=2] q=[~ [p=~~~2b. q=[p=[p=1 q=2] q=""]]]]
502 [p=[p=1 q=2] q=[~ [p=~~~2b. q=[p=[p=1 q=2] q=""]]]]
503− ~zod/try=> (lus [[1 1] ".+"])
503+ > (lus [[1 1] ".+"])
504 [p=[p=1 q=1] q=~]
504 [p=[p=1 q=1] q=~]
505
505
506
506
@@ -520,13 +520,13 @@ Source
520Examples
520Examples
521--------
521--------
522
522
523− ~zod/try=> (scan "&" pam)
523+ > (scan "&" pam)
524 ~~~26.
524 ~~~26.
525− ~zod/try=> `cord`(scan "&" pam)
525+ > `cord`(scan "&" pam)
526 '&'
526 '&'
527− ~zod/try=> (pam [[1 1] "&"])
527+ > (pam [[1 1] "&"])
528 [p=[p=1 q=2] q=[~ [p=~~~26. q=[p=[p=1 q=2] q=""]]]]
528 [p=[p=1 q=2] q=[~ [p=~~~26. q=[p=[p=1 q=2] q=""]]]]
529− ~zod/try=> (pam [[1 1] "?&"])
529+ > (pam [[1 1] "?&"])
530 [p=[p=1 q=1] q=~]
530 [p=[p=1 q=1] q=~]
531
531
532
532
@@ -546,13 +546,13 @@ Source
546Examples
546Examples
547--------
547--------
548
548
549− ~zod/try=> (scan "@" pat)
549+ > (scan "@" pat)
550 ~~~4.
550 ~~~4.
551− ~zod/try=> `cord`(scan "@" pat)
551+ > `cord`(scan "@" pat)
552 '@'
552 '@'
553− ~zod/try=> (pat [[1 1] "@"])
553+ > (pat [[1 1] "@"])
554 [p=[p=1 q=2] q=[~ [p=~~~4. q=[p=[p=1 q=2] q=""]]]]
554 [p=[p=1 q=2] q=[~ [p=~~~4. q=[p=[p=1 q=2] q=""]]]]
555− ~zod/try=> (pat [[1 1] "?@"])
555+ > (pat [[1 1] "?@"])
556 [p=[p=1 q=1] q=~]
556 [p=[p=1 q=1] q=~]
557
557
558
558
@@ -572,13 +572,13 @@ Source
572Examples
572Examples
573--------
573--------
574
574
575− ~zod/try=> (scan "(" pel)
575+ > (scan "(" pel)
576 ~~~28.
576 ~~~28.
577− ~zod/try=> `cord`(scan "(" pel)
577+ > `cord`(scan "(" pel)
578 '('
578 '('
579− ~zod/try=> (pel [[1 1] "("])
579+ > (pel [[1 1] "("])
580 [p=[p=1 q=2] q=[~ [p=~~~28. q=[p=[p=1 q=2] q=""]]]]
580 [p=[p=1 q=2] q=[~ [p=~~~28. q=[p=[p=1 q=2] q=""]]]]
581− ~zod/try=> (pel [[1 1] ";("])
581+ > (pel [[1 1] ";("])
582 [p=[p=1 q=1] q=~]
582 [p=[p=1 q=1] q=~]
583
583
584
584
@@ -598,13 +598,13 @@ Source
598Examples
598Examples
599--------
599--------
600
600
601− ~zod/try=> (scan ")" per)
601+ > (scan ")" per)
602 ~~~29.
602 ~~~29.
603− ~zod/try=> `cord`(scan ")" per)
603+ > `cord`(scan ")" per)
604 ')'
604 ')'
605− ~zod/try=> (per [[1 1] ")"])
605+ > (per [[1 1] ")"])
606 [p=[p=1 q=2] q=[~ [p=~~~29. q=[p=[p=1 q=2] q=""]]]]
606 [p=[p=1 q=2] q=[~ [p=~~~29. q=[p=[p=1 q=2] q=""]]]]
607− ~zod/try=> (per [[1 1] " )"])
607+ > (per [[1 1] " )"])
608 [p=[p=1 q=1] q=~]
608 [p=[p=1 q=1] q=~]
609
609
610
610
@@ -624,13 +624,13 @@ Source
624Examples
624Examples
625--------
625--------
626
626
627− ~zod/try=> (scan "[" sel)
627+ > (scan "[" sel)
628 ~~~5b.
628 ~~~5b.
629− ~zod/try=> `cord`(scan "[" sel)
629+ > `cord`(scan "[" sel)
630 '['
630 '['
631− ~zod/try=> (sel [[1 1] "["])
631+ > (sel [[1 1] "["])
632 [p=[p=1 q=2] q=[~ [p=~~~5b. q=[p=[p=1 q=2] q=""]]]]
632 [p=[p=1 q=2] q=[~ [p=~~~5b. q=[p=[p=1 q=2] q=""]]]]
633− ~zod/try=> (sel [[1 1] "-["])
633+ > (sel [[1 1] "-["])
634 [p=[p=1 q=1] q=~]
634 [p=[p=1 q=1] q=~]
635
635
636
636
@@ -650,13 +650,13 @@ Source
650Examples
650Examples
651--------
651--------
652
652
653− ~zod/try=> (scan ";" sem)
653+ > (scan ";" sem)
654 ~~~3b.
654 ~~~3b.
655− ~zod/try=> `cord`(scan ";" sem)
655+ > `cord`(scan ";" sem)
656 ';'
656 ';'
657− ~zod/try=> (sem [[1 1] ";"])
657+ > (sem [[1 1] ";"])
658 [p=[p=1 q=2] q=[~ [p=~~~3b. q=[p=[p=1 q=2] q=""]]]]
658 [p=[p=1 q=2] q=[~ [p=~~~3b. q=[p=[p=1 q=2] q=""]]]]
659− ~zod/try=> (sem [[1 1] " ;"])
659+ > (sem [[1 1] " ;"])
660 [p=[p=1 q=1] q=~]
660 [p=[p=1 q=1] q=~]
661
661
662
662
@@ -676,13 +676,13 @@ Source
676Examples
676Examples
677--------
677--------
678
678
679− ~zod/try=> (scan "]" ser)
679+ > (scan "]" ser)
680 ~~~5d.
680 ~~~5d.
681− ~zod/try=> `cord`(scan "]" ser)
681+ > `cord`(scan "]" ser)
682 ']'
682 ']'
683− ~zod/try=> (ser [[1 1] "]"])
683+ > (ser [[1 1] "]"])
684 [p=[p=1 q=2] q=[~ [p=~~~5d. q=[p=[p=1 q=2] q=""]]]]
684 [p=[p=1 q=2] q=[~ [p=~~~5d. q=[p=[p=1 q=2] q=""]]]]
685− ~zod/try=> (ser [[1 1] "[ ]"])
685+ > (ser [[1 1] "[ ]"])
686 [p=[p=1 q=1] q=~]
686 [p=[p=1 q=1] q=~]
687
687
688
688
@@ -702,13 +702,13 @@ Source
702Examples
702Examples
703--------
703--------
704
704
705− ~zod/try=> (scan "~" sig)
705+ > (scan "~" sig)
706 ~~~~
706 ~~~~
707− ~zod/try=> `cord`(scan "~" sig)
707+ > `cord`(scan "~" sig)
708 '~'
708 '~'
709− ~zod/try=> (sig [[1 1] "~"])
709+ > (sig [[1 1] "~"])
710 [p=[p=1 q=2] q=[~ [p=~~~~ q=[p=[p=1 q=2] q=""]]]]
710 [p=[p=1 q=2] q=[~ [p=~~~~ q=[p=[p=1 q=2] q=""]]]]
711− ~zod/try=> (sig [[1 1] "?~"])
711+ > (sig [[1 1] "?~"])
712 [p=[p=1 q=1] q=~]
712 [p=[p=1 q=1] q=~]
713
713
714
714
@@ -729,13 +729,13 @@ Source
729Examples
729Examples
730--------
730--------
731
731
732− ~zod/try=> (scan "'" soq)
732+ > (scan "'" soq)
733 ~~~27.
733 ~~~27.
734− ~zod/try=> `cord`(scan "'" soq)
734+ > `cord`(scan "'" soq)
735 '''
735 '''
736− ~zod/try=> (soq [[1 1] "'"])
736+ > (soq [[1 1] "'"])
737 [p=[p=1 q=2] q=[~ [p=~~~27. q=[p=[p=1 q=2] q=""]]]]
737 [p=[p=1 q=2] q=[~ [p=~~~27. q=[p=[p=1 q=2] q=""]]]]
738− ~zod/try=> (soq [[1 1] ">'"])
738+ > (soq [[1 1] ">'"])
739 [p=[p=1 q=1] q=~]
739 [p=[p=1 q=1] q=~]
740
740
741
741
@@ -755,13 +755,13 @@ Source
755Examples
755Examples
756--------
756--------
757
757
758− ~zod/try=> (scan "*" tar)
758+ > (scan "*" tar)
759 ~~~2a.
759 ~~~2a.
760− ~zod/try=> `cord`(scan "*" tar)
760+ > `cord`(scan "*" tar)
761 '*'
761 '*'
762− ~zod/try=> (tar [[1 1] "*"])
762+ > (tar [[1 1] "*"])
763 [p=[p=1 q=2] q=[~ [p=~~~2a. q=[p=[p=1 q=2] q=""]]]]
763 [p=[p=1 q=2] q=[~ [p=~~~2a. q=[p=[p=1 q=2] q=""]]]]
764− ~zod/try=> (tar [[1 1] ".*"])
764+ > (tar [[1 1] ".*"])
765 [p=[p=1 q=1] q=~]
765 [p=[p=1 q=1] q=~]
766
766
767
767
@@ -782,13 +782,13 @@ Source
782Examples
782Examples
783--------
783--------
784
784
785− ~zod/try=> (scan "`" tec)
785+ > (scan "`" tec)
786 ~~~6.
786 ~~~6.
787− ~zod/try=> `cord`(scan "`" tec)
787+ > `cord`(scan "`" tec)
788 '`'
788 '`'
789− ~zod/try=> (tec [[1 1] "`"])
789+ > (tec [[1 1] "`"])
790 [p=[p=1 q=2] q=[~ [p=~~~6. q=[p=[p=1 q=2] q=""]]]]
790 [p=[p=1 q=2] q=[~ [p=~~~6. q=[p=[p=1 q=2] q=""]]]]
791− ~zod/try=> (tec [[1 1] " `"])
791+ > (tec [[1 1] " `"])
792 [p=[p=1 q=1] q=~]
792 [p=[p=1 q=1] q=~]
793
793
794
794
@@ -808,13 +808,13 @@ Source
808Examples
808Examples
809--------
809--------
810
810
811− ~zod/try=> (scan "=" tis)
811+ > (scan "=" tis)
812 ~~~3d.
812 ~~~3d.
813− ~zod/try=> `cord`(scan "=" tis)
813+ > `cord`(scan "=" tis)
814 '='
814 '='
815− ~zod/try=> (tis [[1 1] "="])
815+ > (tis [[1 1] "="])
816 [p=[p=1 q=2] q=[~ [p=~~~3d. q=[p=[p=1 q=2] q=""]]]]
816 [p=[p=1 q=2] q=[~ [p=~~~3d. q=[p=[p=1 q=2] q=""]]]]
817− ~zod/try=> (tis [[1 1] "|="])
817+ > (tis [[1 1] "|="])
818 [p=[p=1 q=1] q=~]
818 [p=[p=1 q=1] q=~]
819
819
820
820
@@ -834,13 +834,13 @@ Source
834Examples
834Examples
835--------
835--------
836
836
837− ~zod/try=> (scan "?" wut)
837+ > (scan "?" wut)
838 ~~~3f.
838 ~~~3f.
839− ~zod/try=> `cord`(scan "?" wut)
839+ > `cord`(scan "?" wut)
840 '?'
840 '?'
841− ~zod/try=> (wut [[1 1] "?"])
841+ > (wut [[1 1] "?"])
842 [p=[p=1 q=2] q=[~ [p=~~~3f. q=[p=[p=1 q=2] q=""]]]]
842 [p=[p=1 q=2] q=[~ [p=~~~3f. q=[p=[p=1 q=2] q=""]]]]
843− ~zod/try=> (wut [[1 1] ".?"])
843+ > (wut [[1 1] ".?"])
844 [p=[p=1 q=1] q=~]
844 [p=[p=1 q=1] q=~]
845
845
846
846
@@ -860,13 +860,13 @@ Source
860Examples
860Examples
861--------
861--------
862
862
863− ~zod/try=> (scan "!" zap)
863+ > (scan "!" zap)
864 ~~~21.
864 ~~~21.
865− ~zod/try=> `cord`(scan "!" zap)
865+ > `cord`(scan "!" zap)
866 '!'
866 '!'
867− ~zod/try=> (zap [[1 1] "!"])
867+ > (zap [[1 1] "!"])
868 [p=[p=1 q=2] q=[~ [p=~~~21. q=[p=[p=1 q=2] q=""]]]]
868 [p=[p=1 q=2] q=[~ [p=~~~21. q=[p=[p=1 q=2] q=""]]]]
869− ~zod/try=> (zap [[1 1] "?!"])
869+ > (zap [[1 1] "?!"])
870 [p=[p=1 q=1] q=~]
870 [p=[p=1 q=1] q=~]
871
871
872
872
docs/system/hoon/library/4j.md+122−122
@@ -14,7 +14,7 @@ Source
14Examples
14Examples
15--------
15--------
16
16
17− ~zod/try=> ab
17+ > ab
18 <36.ecc 414.gly 100.xkc 1.ypj %164>
18 <36.ecc 414.gly 100.xkc 1.ypj %164>
19
19
20------------------------------------------------------------------------
20------------------------------------------------------------------------
@@ -43,11 +43,11 @@ Source
43Examples
43Examples
44--------
44--------
45
45
46− ~zod/try=> (scan "07" bix:ab)
46+ > (scan "07" bix:ab)
47 q=7
47 q=7
48− ~zod/try=> (scan "51" bix:ab)
48+ > (scan "51" bix:ab)
49 q=81
49 q=81
50− ~zod/try=> (scan "a3" bix:ab)
50+ > (scan "a3" bix:ab)
51 q=163
51 q=163
52
52
53------------------------------------------------------------------------
53------------------------------------------------------------------------
@@ -77,9 +77,9 @@ Source
77Examples
77Examples
78--------
78--------
79
79
80− ~zod/try=> (scan "doznec" hif:ab)
80+ > (scan "doznec" hif:ab)
81 q=256
81 q=256
82− ~zod/try=> (scan "pittyp" hif:ab)
82+ > (scan "pittyp" hif:ab)
83 q=48.626
83 q=48.626
84
84
85------------------------------------------------------------------------
85------------------------------------------------------------------------
@@ -111,11 +111,11 @@ Source
111Examples
111Examples
112--------
112--------
113
113
114− ~zod/try=> (scan "pittyp-pittyp" huf:ab)
114+ > (scan "pittyp-pittyp" huf:ab)
115 328.203.557
115 328.203.557
116− ~zod/try=> (scan "tasfyn-partyv" huf:ab)
116+ > (scan "tasfyn-partyv" huf:ab)
117 65.792
117 65.792
118− ~zod/try=> `@ux`(scan "tasfyn-partyv" huf:ab)
118+ > `@ux`(scan "tasfyn-partyv" huf:ab)
119 0x1.0100
119 0x1.0100
120
120
121------------------------------------------------------------------------
121------------------------------------------------------------------------
@@ -145,9 +145,9 @@ Source
145Examples
145Examples
146--------
146--------
147
147
148− ~zod/try=> (scan "sondel-forsut-tillyn-nillyt" hyf:ab)
148+ > (scan "sondel-forsut-tillyn-nillyt" hyf:ab)
149 q=365.637.097.828.335.095
149 q=365.637.097.828.335.095
150− ~zod/try=> `@u`~sondel-forsut-tillyn-nillyt
150+ > `@u`~sondel-forsut-tillyn-nillyt
151 365.637.097.828.335.095
151 365.637.097.828.335.095
152
152
153------------------------------------------------------------------------
153------------------------------------------------------------------------
@@ -176,14 +176,14 @@ Source
176Examples
176Examples
177--------
177--------
178
178
179− ~zod/try=> (scan "a" pev:ab)
179+ > (scan "a" pev:ab)
180 q=10
180 q=10
181− ~zod/try=> (scan "290j" pev:ab)
181+ > (scan "290j" pev:ab)
182 q=74.771
182 q=74.771
183− ~zod/try=> (scan "123456" pev:ab)
183+ > (scan "123456" pev:ab)
184 ! {1 6}
184 ! {1 6}
185 ! exit
185 ! exit
186− ~zod/try=> (scan "090j" pev:ab)
186+ > (scan "090j" pev:ab)
187 ~ <syntax error at [1 11]>
187 ~ <syntax error at [1 11]>
188
188
189------------------------------------------------------------------------
189------------------------------------------------------------------------
@@ -212,16 +212,16 @@ Source
212Examples
212Examples
213--------
213--------
214
214
215− ~zod/try=> (scan "Q" pew:ab)
215+ > (scan "Q" pew:ab)
216 q=52
216 q=52
217− ~zod/try=> (scan "aQ~9" pew:ab)
217+ > (scan "aQ~9" pew:ab)
218 q=2.838.473
218 q=2.838.473
219− ~zod/try=> `@`0waQ~9
219+ > `@`0waQ~9
220 2.838.473
220 2.838.473
221− ~zod/try=> (scan "123456" pew:ab)
221+ > (scan "123456" pew:ab)
222 ! {1 6}
222 ! {1 6}
223 ! exit
223 ! exit
224− ~zod/try=> (scan "012345" pew:ab)
224+ > (scan "012345" pew:ab)
225 ! {1 1}
225 ! {1 1}
226 ! exit
226 ! exit
227
227
@@ -247,9 +247,9 @@ Source
247Examples
247Examples
248--------
248--------
249
249
250− ~zod/try=> (scan "10b3l" piv:ab)
250+ > (scan "10b3l" piv:ab)
251 q=1.059.957
251 q=1.059.957
252− ~zod/try=> (scan "1" piv:ab)
252+ > (scan "1" piv:ab)
253 ! {1 2}
253 ! {1 2}
254 ! exit
254 ! exit
255
255
@@ -275,9 +275,9 @@ Source
275Examples
275Examples
276--------
276--------
277
277
278− ~zod/try=> (scan "2C-pZ" piw:ab)
278+ > (scan "2C-pZ" piw:ab)
279 q=43.771.517
279 q=43.771.517
280− ~zod/try=> (scan "2" piv:ab)
280+ > (scan "2" piv:ab)
281 ! {1 2}
281 ! {1 2}
282 ! exit
282 ! exit
283
283
@@ -304,16 +304,16 @@ Source
304Examples
304Examples
305--------
305--------
306
306
307− ~zod/try=> (scan "1" qeb:ab)
307+ > (scan "1" qeb:ab)
308 q=1
308 q=1
309− ~zod/try=> (scan "101" qeb:ab)
309+ > (scan "101" qeb:ab)
310 q=5
310 q=5
311− ~zod/try=> (scan "1111" qeb:ab)
311+ > (scan "1111" qeb:ab)
312 q=15
312 q=15
313− ~zod/try=> (scan "11111" qeb:ab)
313+ > (scan "11111" qeb:ab)
314 ! {1 5}
314 ! {1 5}
315 ! exit
315 ! exit
316− ~zod/try=> (scan "01" qeb:ab)
316+ > (scan "01" qeb:ab)
317 ! {1 1}
317 ! {1 1}
318 ! exit
318 ! exit
319
319
@@ -340,14 +340,14 @@ Source
340Examples
340Examples
341--------
341--------
342
342
343− ~zod/try=> (scan "ca" qex:ab)
343+ > (scan "ca" qex:ab)
344 q=202
344 q=202
345− ~zod/try=> (scan "18ac" qex:ab)
345+ > (scan "18ac" qex:ab)
346 q=6.316
346 q=6.316
347− ~zod/try=> (scan "18acc" qex:ab)
347+ > (scan "18acc" qex:ab)
348 ! {1 5}
348 ! {1 5}
349 ! exit
349 ! exit
350− ~zod/try=> (scan "08ac" qex:ab)
350+ > (scan "08ac" qex:ab)
351 ! {1 1}
351 ! {1 1}
352 ! exit
352 ! exit
353
353
@@ -373,11 +373,11 @@ Source
373Examples
373Examples
374--------
374--------
375
375
376− ~zod/try=> (scan "0001" qib:ab)
376+ > (scan "0001" qib:ab)
377 q=1
377 q=1
378− ~zod/try=> (scan "0100" qib:ab)
378+ > (scan "0100" qib:ab)
379 q=4
379 q=4
380− ~zod/try=> (scan "110" qib:ab)
380+ > (scan "110" qib:ab)
381 ! {1 4}
381 ! {1 4}
382 ! exit
382 ! exit
383
383
@@ -403,11 +403,11 @@ Source
403Examples
403Examples
404--------
404--------
405
405
406− ~zod/try=> (scan "0100" qix:ab)
406+ > (scan "0100" qix:ab)
407 q=256
407 q=256
408− ~zod/try=> (scan "10ff" qix:ab)
408+ > (scan "10ff" qix:ab)
409 q=4.351
409 q=4.351
410− ~zod/try=> (scan "0" qix:ab)
410+ > (scan "0" qix:ab)
411 ! {1 2}
411 ! {1 2}
412 ! exit
412 ! exit
413
413
@@ -433,12 +433,12 @@ Source
433Examples
433Examples
434--------
434--------
435
435
436− ~zod/try=> (scan "1" seb:ab)
436+ > (scan "1" seb:ab)
437 1
437 1
438− ~zod/try=> (scan "0" seb:ab)
438+ > (scan "0" seb:ab)
439 ! ~zod/try/~2014.10.23..22.34.21..bfdd/:<[1 1].[1 18]>
439 ! ~zod/try/~2014.10.23..22.34.21..bfdd/:<[1 1].[1 18]>
440 ! {1 1}
440 ! {1 1}
441− ~zod/try=> (scan "2" seb:ab)
441+ > (scan "2" seb:ab)
442 ! ~zod/try/~2014.10.23..22.34.29..d399/:<[1 1].[1 18]>
442 ! ~zod/try/~2014.10.23..22.34.29..d399/:<[1 1].[1 18]>
443 ! {1 1}
443 ! {1 1}
444
444
@@ -464,9 +464,9 @@ Source
464Examples
464Examples
465--------
465--------
466
466
467− ~zod/try=> (scan "5" sed:ab)
467+ > (scan "5" sed:ab)
468 5
468 5
469− ~zod/try=> (scan "0" sed:ab)
469+ > (scan "0" sed:ab)
470 ! {1 1}
470 ! {1 1}
471 ! exit
471 ! exit
472
472
@@ -492,7 +492,7 @@ Source
492Examples
492Examples
493--------
493--------
494
494
495− ~zod/try=> (scan "c" sev:ab)
495+ > (scan "c" sev:ab)
496 12
496 12
497 ~zod/socialnet=> (scan "0" sev:ab)
497 ~zod/socialnet=> (scan "0" sev:ab)
498 ! {1 1}
498 ! {1 1}
@@ -520,9 +520,9 @@ Source
520Examples
520Examples
521--------
521--------
522
522
523− ~zod/try=> (scan "M" sew:ab)
523+ > (scan "M" sew:ab)
524 48
524 48
525− ~zod/try=> (scan "0" sew:ab)
525+ > (scan "0" sew:ab)
526 ! {1 1}
526 ! {1 1}
527 ! exit
527 ! exit
528
528
@@ -548,9 +548,9 @@ Source
548Examples
548Examples
549--------
549--------
550
550
551− ~zod/try=> (scan "e" sex:ab)
551+ > (scan "e" sex:ab)
552 14
552 14
553− ~zod/try=> (scan "0" sex:ab)
553+ > (scan "0" sex:ab)
554 ! {1 1}
554 ! {1 1}
555 ! exit
555 ! exit
556
556
@@ -576,7 +576,7 @@ Source
576Examples
576Examples
577--------
577--------
578
578
579− ~zod/try=> (scan "1" sib:ab)
579+ > (scan "1" sib:ab)
580 1
580 1
581 ~zod/socialnet=> (scan "0" sib:ab)
581 ~zod/socialnet=> (scan "0" sib:ab)
582 0
582 0
@@ -603,7 +603,7 @@ Source
603Examples
603Examples
604--------
604--------
605
605
606− ~zod/try=> (scan "5" sid:ab)
606+ > (scan "5" sid:ab)
607 5
607 5
608
608
609------------------------------------------------------------------------
609------------------------------------------------------------------------
@@ -628,7 +628,7 @@ Source
628Examples
628Examples
629--------
629--------
630
630
631− ~zod/try=> (scan "c" siv:ab)
631+ > (scan "c" siv:ab)
632 12
632 12
633
633
634------------------------------------------------------------------------
634------------------------------------------------------------------------
@@ -653,7 +653,7 @@ Source
653Examples
653Examples
654--------
654--------
655
655
656− ~zod/try=> (scan "M" siw:ab)
656+ > (scan "M" siw:ab)
657 48
657 48
658
658
659------------------------------------------------------------------------
659------------------------------------------------------------------------
@@ -678,7 +678,7 @@ Source
678Examples
678Examples
679--------
679--------
680
680
681− ~zod/try=> (scan "e" six:ab)
681+ > (scan "e" six:ab)
682 14
682 14
683
683
684------------------------------------------------------------------------
684------------------------------------------------------------------------
@@ -703,7 +703,7 @@ Source
703Examples
703Examples
704--------
704--------
705
705
706− ~zod/try=> (scan "c" sov:ab)
706+ > (scan "c" sov:ab)
707 12
707 12
708
708
709------------------------------------------------------------------------
709------------------------------------------------------------------------
@@ -733,7 +733,7 @@ Source
733Examples
733Examples
734--------
734--------
735
735
736− ~zod/try=> (scan "M" sow:ab)
736+ > (scan "M" sow:ab)
737 48
737 48
738
738
739------------------------------------------------------------------------
739------------------------------------------------------------------------
@@ -758,7 +758,7 @@ Source
758Examples
758Examples
759--------
759--------
760
760
761− ~zod/try=> (scan "e" sox:ab)
761+ > (scan "e" sox:ab)
762 14
762 14
763
763
764------------------------------------------------------------------------
764------------------------------------------------------------------------
@@ -784,13 +784,13 @@ Source
784Examples
784Examples
785--------
785--------
786
786
787− ~zod/try=> (scan "21" ted:ab)
787+ > (scan "21" ted:ab)
788 q=21
788 q=21
789− ~zod/try=> (scan "214" ted:ab)
789+ > (scan "214" ted:ab)
790 q=214
790 q=214
791− ~zod/try=> (scan "2140" ted:ab)
791+ > (scan "2140" ted:ab)
792 {1 4}
792 {1 4}
793− ~zod/try=> (scan "0" ted:ab)
793+ > (scan "0" ted:ab)
794 ! {1 1}
794 ! {1 1}
795 ! exit
795 ! exit
796
796
@@ -817,9 +817,9 @@ Source
817Examples
817Examples
818--------
818--------
819
819
820− ~zod/try=> (scan "doz" tip:ab)
820+ > (scan "doz" tip:ab)
821 0
821 0
822− ~zod/try=> (scan "pit" tip:ab)
822+ > (scan "pit" tip:ab)
823 242
823 242
824
824
825------------------------------------------------------------------------
825------------------------------------------------------------------------
@@ -845,9 +845,9 @@ Source
845Examples
845Examples
846--------
846--------
847
847
848− ~zod/try=> (scan "zod" tiq:ab)
848+ > (scan "zod" tiq:ab)
849 0
849 0
850− ~zod/try=> (scan "nec" tiq:ab)
850+ > (scan "nec" tiq:ab)
851 1
851 1
852
852
853------------------------------------------------------------------------
853------------------------------------------------------------------------
@@ -872,9 +872,9 @@ Source
872Examples
872Examples
873--------
873--------
874
874
875− ~zod/try=> (scan "013" tid:ab)
875+ > (scan "013" tid:ab)
876 q=13
876 q=13
877− ~zod/try=> (scan "01" tid:ab)
877+ > (scan "01" tid:ab)
878 ! {1 3}
878 ! {1 3}
879 ! exit
879 ! exit
880
880
@@ -900,11 +900,11 @@ Source
900Examples
900Examples
901--------
901--------
902
902
903− ~zod/try=> (scan "mer" til:ab)
903+ > (scan "mer" til:ab)
904 q=7.497.069
904 q=7.497.069
905− ~zod/try=> `@t`(scan "mer" til:ab)
905+ > `@t`(scan "mer" til:ab)
906 'mer'
906 'mer'
907− ~zod/try=> (scan "me" til:ab)
907+ > (scan "me" til:ab)
908 ! {1 3}
908 ! {1 3}
909 ! exit
909 ! exit
910
910
@@ -932,9 +932,9 @@ Source
932Examples
932Examples
933--------
933--------
934
934
935− ~zod/try=> `@ta`(scan "asa-lom_tak" urs:ab)
935+ > `@ta`(scan "asa-lom_tak" urs:ab)
936 ~.asa-lom_tak
936 ~.asa-lom_tak
937− ~zod/try=> `@t`(scan "asa-lom_tak" urs:ab)
937+ > `@t`(scan "asa-lom_tak" urs:ab)
938 'asa-lom_tak'
938 'asa-lom_tak'
939
939
940------------------------------------------------------------------------
940------------------------------------------------------------------------
@@ -962,7 +962,7 @@ Source
962Examples
962Examples
963--------
963--------
964
964
965− ~zod/try=> `@t`(scan "asa-lom.t0k" urt:ab)
965+ > `@t`(scan "asa-lom.t0k" urt:ab)
966 'asa-lom.t0k'
966 'asa-lom.t0k'
967
967
968------------------------------------------------------------------------
968------------------------------------------------------------------------
@@ -988,9 +988,9 @@ Source
988Examples
988Examples
989--------
989--------
990
990
991− ~zod/try=> (scan "\\0a" voy:ab)
991+ > (scan "\\0a" voy:ab)
992 q=10
992 q=10
993− ~zod/try=> (scan "\\'" voy:ab)
993+ > (scan "\\'" voy:ab)
994 q=39
994 q=39
995
995
996------------------------------------------------------------------------
996------------------------------------------------------------------------
@@ -1016,7 +1016,7 @@ Source
1016Examples
1016Examples
1017--------
1017--------
1018
1018
1019− ~zod/try=> ag
1019+ > ag
1020 <14.vpu 414.mof 100.xkc 1.ypj %164>
1020 <14.vpu 414.mof 100.xkc 1.ypj %164>
1021
1021
1022------------------------------------------------------------------------
1022------------------------------------------------------------------------
@@ -1044,7 +1044,7 @@ Source
1044Examples
1044Examples
1045--------
1045--------
1046
1046
1047− ~zod/try=> (scan "202" (star (ape:ag (cold 2 (just '2')))))
1047+ > (scan "202" (star (ape:ag (cold 2 (just '2')))))
1048 ~[2 0 2]
1048 ~[2 0 2]
1049
1049
1050------------------------------------------------------------------------
1050------------------------------------------------------------------------
@@ -1069,7 +1069,7 @@ Source
1069Examples
1069Examples
1070--------
1070--------
1071
1071
1072− ~zod/try=> (scan "10.0110" bay:ag)
1072+ > (scan "10.0110" bay:ag)
1073 q=38
1073 q=38
1074
1074
1075------------------------------------------------------------------------
1075------------------------------------------------------------------------
@@ -1095,9 +1095,9 @@ Source
1095Examples
1095Examples
1096--------
1096--------
1097
1097
1098− ~zod/try=> (scan "0.0.ea.3e6c.0.0.0.0" bip:ag)
1098+ > (scan "0.0.ea.3e6c.0.0.0.0" bip:ag)
1099 q=283.183.420.760.121.105.516.068.864
1099 q=283.183.420.760.121.105.516.068.864
1100− ~zod/try=> `@is`(scan "0.0.ea.3e6c.0.0.0.0" bip:ag)
1100+ > `@is`(scan "0.0.ea.3e6c.0.0.0.0" bip:ag)
1101 .0.0.ea.3e6c.0.0.0.0
1101 .0.0.ea.3e6c.0.0.0.0
1102
1102
1103------------------------------------------------------------------------
1103------------------------------------------------------------------------
@@ -1123,9 +1123,9 @@ Source
1123Examples
1123Examples
1124--------
1124--------
1125
1125
1126− ~zod/try=> (scan "52" dem:ag)
1126+ > (scan "52" dem:ag)
1127 q=52
1127 q=52
1128− ~zod/try=> (scan "13.507" dem:ag)
1128+ > (scan "13.507" dem:ag)
1129 q=13.507
1129 q=13.507
1130
1130
1131------------------------------------------------------------------------
1131------------------------------------------------------------------------
@@ -1150,9 +1150,9 @@ Source
1150Examples
1150Examples
1151--------
1151--------
1152
1152
1153− ~zod/try=> (scan "52" dim:ag)
1153+ > (scan "52" dim:ag)
1154 q=52
1154 q=52
1155− ~zod/try=> (scan "013507" dim:ag)
1155+ > (scan "013507" dim:ag)
1156 ! {1 2}
1156 ! {1 2}
1157 ! exit
1157 ! exit
1158
1158
@@ -1178,11 +1178,11 @@ Source
1178Examples
1178Examples
1179--------
1179--------
1180
1180
1181− ~zod/try=> (scan "52" dum:ag)
1181+ > (scan "52" dum:ag)
1182 q=52
1182 q=52
1183− ~zod/try=> (scan "0000052" dum:ag)
1183+ > (scan "0000052" dum:ag)
1184 q=52
1184 q=52
1185− ~zod/try=> (scan "13507" dim:ag)
1185+ > (scan "13507" dim:ag)
1186 q=13.507
1186 q=13.507
1187
1187
1188------------------------------------------------------------------------
1188------------------------------------------------------------------------
@@ -1212,19 +1212,19 @@ Source
1212Examples
1212Examples
1213--------
1213--------
1214
1214
1215− ~zod/try=> (scan "zod" fed:ag)
1215+ > (scan "zod" fed:ag)
1216 0
1216 0
1217− ~zod/try=> (scan "nec" fed:ag)
1217+ > (scan "nec" fed:ag)
1218 1
1218 1
1219− ~zod/try=> (scan "sondel" fed:ag)
1219+ > (scan "sondel" fed:ag)
1220 9.636
1220 9.636
1221− ~zod/try=> ~tillyn-nillyt
1221+ > ~tillyn-nillyt
1222 ~tillyn-nillyt
1222 ~tillyn-nillyt
1223− ~zod/try=> (scan "tillyn-nillyt" fed:ag)
1223+ > (scan "tillyn-nillyt" fed:ag)
1224 3.569.565.175
1224 3.569.565.175
1225− ~zod/try=> (scan "tillyn-nillyt-tasfyn-partyv" fed:ag)
1225+ > (scan "tillyn-nillyt-tasfyn-partyv" fed:ag)
1226 15.331.165.687.565.582.592
1226 15.331.165.687.565.582.592
1227− ~zod/try=> (scan "tillyn-nillyt-tasfyn-partyv--novweb-talrud-talmud-sonfyr" fed:ag)
1227+ > (scan "tillyn-nillyt-tasfyn-partyv--novweb-talrud-talmud-sonfyr" fed:ag)
1228 282.810.089.790.159.633.869.501.053.313.363.681.181
1228 282.810.089.790.159.633.869.501.053.313.363.681.181
1229
1229
1230------------------------------------------------------------------------
1230------------------------------------------------------------------------
@@ -1249,13 +1249,13 @@ Source
1249Examples
1249Examples
1250--------
1250--------
1251
1251
1252− ~zod/try=> (scan "4" hex:ag)
1252+ > (scan "4" hex:ag)
1253 q=4
1253 q=4
1254− ~zod/try=> (scan "1a" hex:ag)
1254+ > (scan "1a" hex:ag)
1255 q=26
1255 q=26
1256− ~zod/try=> (scan "3.ac8d" hex:ag)
1256+ > (scan "3.ac8d" hex:ag)
1257 q=240.781
1257 q=240.781
1258− ~zod/try=> `@ux`(scan "3.ac8d" hex:ag)
1258+ > `@ux`(scan "3.ac8d" hex:ag)
1259 0x3.ac8d
1259 0x3.ac8d
1260
1260
1261------------------------------------------------------------------------
1261------------------------------------------------------------------------
@@ -1281,11 +1281,11 @@ Source
1281Examples
1281Examples
1282--------
1282--------
1283
1283
1284− ~zod/try=> (scan "127.0.0.1" lip:ag)
1284+ > (scan "127.0.0.1" lip:ag)
1285 q=2.130.706.433
1285 q=2.130.706.433
1286− ~zod/try=> `@if`(scan "127.0.0.1" lip:ag)
1286+ > `@if`(scan "127.0.0.1" lip:ag)
1287 .127.0.0.1
1287 .127.0.0.1
1288− ~zod/try=> `@if`(scan "8.8.8.8" lip:ag)
1288+ > `@if`(scan "8.8.8.8" lip:ag)
1289 .8.8.8.8
1289 .8.8.8.8
1290
1290
1291------------------------------------------------------------------------
1291------------------------------------------------------------------------
@@ -1310,7 +1310,7 @@ Source
1310Examples
1310Examples
1311--------
1311--------
1312
1312
1313− ~zod/try=> (scan "e2.ol4pm" viz:ag)
1313+ > (scan "e2.ol4pm" viz:ag)
1314 q=15.125.353.270
1314 q=15.125.353.270
1315
1315
1316------------------------------------------------------------------------
1316------------------------------------------------------------------------
@@ -1335,7 +1335,7 @@ Source
1335Examples
1335Examples
1336--------
1336--------
1337
1337
1338− ~zod/try=> (scan "e2ol4pm" vum:ag)
1338+ > (scan "e2ol4pm" vum:ag)
1339 q=15.125.353.270
1339 q=15.125.353.270
1340
1340
1341------------------------------------------------------------------------
1341------------------------------------------------------------------------
@@ -1362,7 +1362,7 @@ Source
1362Examples
1362Examples
1363--------
1363--------
1364
1364
1365− ~zod/try=> (scan "e2O.l4Xpm" wiz:ag)
1365+ > (scan "e2O.l4Xpm" wiz:ag)
1366 q=61.764.130.813.526
1366 q=61.764.130.813.526
1367
1367
1368***
1368***
@@ -1393,7 +1393,7 @@ Source
1393Examples
1393Examples
1394--------
1394--------
1395
1395
1396− ~zod/try=> ~(. mu 0x20e5 0x5901)
1396+ > ~(. mu 0x20e5 0x5901)
1397 <3.sjm [[@ux @ux] <414.hhh 100.xkc 1.ypj %164>]>
1397 <3.sjm [[@ux @ux] <414.hhh 100.xkc 1.ypj %164>]>
1398
1398
1399------------------------------------------------------------------------
1399------------------------------------------------------------------------
@@ -1425,7 +1425,7 @@ Source
1425Examples
1425Examples
1426--------
1426--------
1427
1427
1428− ~zod/try=> `[@ux @ux]`~(zag mu 0x20e0 0x201)
1428+ > `[@ux @ux]`~(zag mu 0x20e0 0x201)
1429 [0x22e1 0x201]
1429 [0x22e1 0x201]
1430
1430
1431------------------------------------------------------------------------
1431------------------------------------------------------------------------
@@ -1457,7 +1457,7 @@ Source
1457Examples
1457Examples
1458--------
1458--------
1459
1459
1460− ~zod/try=> `[@ux @ux]`~(zig mu 0x2f46 0x1042)
1460+ > `[@ux @ux]`~(zig mu 0x2f46 0x1042)
1461 [0x1f04 0x1042]
1461 [0x1f04 0x1042]
1462
1462
1463------------------------------------------------------------------------
1463------------------------------------------------------------------------
@@ -1487,7 +1487,7 @@ Source
1487Examples
1487Examples
1488--------
1488--------
1489
1489
1490− ~zod/try=> `@ux`~(zug mu 0x10e1 0xfa)
1490+ > `@ux`~(zug mu 0x10e1 0xfa)
1491 0x10e1.00fa
1491 0x10e1.00fa
1492
1492
1493
1493
@@ -1517,7 +1517,7 @@ Source
1517Examples
1517Examples
1518--------
1518--------
1519
1519
1520− ~zod/try=> ~(. ne 20)
1520+ > ~(. ne 20)
1521 <4.gut [@ud <414.hhh 100.xkc 1.ypj %164>]>
1521 <4.gut [@ud <414.hhh 100.xkc 1.ypj %164>]>
1522
1522
1523------------------------------------------------------------------------
1523------------------------------------------------------------------------
@@ -1544,7 +1544,7 @@ Source
1544Examples
1544Examples
1545--------
1545--------
1546
1546
1547− ~zod/try=> `@t`~(d ne 7)
1547+ > `@t`~(d ne 7)
1548 '7'
1548 '7'
1549
1549
1550------------------------------------------------------------------------
1550------------------------------------------------------------------------
@@ -1571,9 +1571,9 @@ Source
1571Examples
1571Examples
1572--------
1572--------
1573
1573
1574− ~zod/try=> `@t`~(x ne 7)
1574+ > `@t`~(x ne 7)
1575 '7'
1575 '7'
1576− ~zod/try=> `@t`~(x ne 14)
1576+ > `@t`~(x ne 14)
1577 'e'
1577 'e'
1578
1578
1579------------------------------------------------------------------------
1579------------------------------------------------------------------------
@@ -1598,11 +1598,11 @@ Source
1598Examples
1598Examples
1599--------
1599--------
1600
1600
1601− ~zod/try=> `@t`~(v ne 7)
1601+ > `@t`~(v ne 7)
1602 '7'
1602 '7'
1603− ~zod/try=> `@t`~(v ne 14)
1603+ > `@t`~(v ne 14)
1604 'e'
1604 'e'
1605− ~zod/try=> `@t`~(v ne 25)
1605+ > `@t`~(v ne 25)
1606 'p'
1606 'p'
1607
1607
1608------------------------------------------------------------------------
1608------------------------------------------------------------------------
@@ -1631,19 +1631,19 @@ Source
1631Examples
1631Examples
1632--------
1632--------
1633
1633
1634− ~zod/try=> `@t`~(w ne 7)
1634+ > `@t`~(w ne 7)
1635 '7'
1635 '7'
1636− ~zod/try=> `@t`~(w ne 14)
1636+ > `@t`~(w ne 14)
1637 'e'
1637 'e'
1638− ~zod/try=> `@t`~(w ne 25)
1638+ > `@t`~(w ne 25)
1639 'p'
1639 'p'
1640− ~zod/try=> `@t`~(w ne 52)
1640+ > `@t`~(w ne 52)
1641 'Q'
1641 'Q'
1642− ~zod/try=> `@t`~(w ne 61)
1642+ > `@t`~(w ne 61)
1643 'Z'
1643 'Z'
1644− ~zod/try=> `@t`~(w ne 63)
1644+ > `@t`~(w ne 63)
1645 '~'
1645 '~'
1646− ~zod/try=> `@t`~(w ne 62)
1646+ > `@t`~(w ne 62)
1647 '-'
1647 '-'
1648
1648
1649
1649
docs/system/hoon/library/4k.md+124−124
@@ -24,7 +24,7 @@ Source
24Examples
24Examples
25--------
25--------
26
26
27− ~zod/try=> < 3.nta
27+ > < 3.nta
28 { lot/{$many {$~ $ta @t} {$~ $ud @ud} $~}
28 { lot/{$many {$~ $ta @t} {$~ $ud @ud} $~}
29 <10.cfg 4.jjn {rep/"" <402.arm 110.jyx 1.ztu $151>}>
29 <10.cfg 4.jjn {rep/"" <402.arm 110.jyx 1.ztu $151>}>
30 }
30 }
@@ -56,7 +56,7 @@ Source
56Examples
56Examples
57--------
57--------
58
58
59− ~zod/try=> (~(rear co %$ %ux 200) "--ha")
59+ > (~(rear co %$ %ux 200) "--ha")
60 "0xc8--ha"
60 "0xc8--ha"
61
61
62------------------------------------------------------------------------
62------------------------------------------------------------------------
@@ -83,9 +83,9 @@ Source
83Examples
83Examples
84--------
84--------
85
85
86− ~zod/try=> ~(rent co %$ %ux 200)
86+ > ~(rent co %$ %ux 200)
87 ~.0xc8
87 ~.0xc8
88− ~zod/try=> `@t`~(rent co %$ %ux 200)
88+ > `@t`~(rent co %$ %ux 200)
89 '0xc8'
89 '0xc8'
90
90
91------------------------------------------------------------------------
91------------------------------------------------------------------------
@@ -238,25 +238,25 @@ Source
238Examples
238Examples
239--------
239--------
240
240
241− ~zod/try=> ~(rend co ~ %ux 200)
241+ > ~(rend co ~ %ux 200)
242 "0xc8"
242 "0xc8"
243− ~zod/try=> ~(rend co %many ~[[%$ ux+200] [%$ p+40]])
243+ > ~(rend co %many ~[[%$ ux+200] [%$ p+40]])
244 "._0xc8_~~tem__"
244 "._0xc8_~~tem__"
245− ~zod/try=> ~(rend co ~ %p 32.819)
245+ > ~(rend co ~ %p 32.819)
246 "~pillyt"
246 "~pillyt"
247− ~zod/try=> ~(rend co ~ %ux 18)
247+ > ~(rend co ~ %ux 18)
248 "0x12"
248 "0x12"
249− ~zod/try=> ~(rend co [~ p=[p=%if q=0x7f00.0001]])
249+ > ~(rend co [~ p=[p=%if q=0x7f00.0001]])
250 ".127.0.0.1"
250 ".127.0.0.1"
251− ~zod/try=> `@ux`.127.0.0.1
251+ > `@ux`.127.0.0.1
252 2.130.706.433
252 2.130.706.433
253− ~zod/try=> ~(rend co %many ~[[~ %ud 20] [~ %uw 133] [~ %tas 'sam']])
253+ > ~(rend co %many ~[[~ %ud 20] [~ %uw 133] [~ %tas 'sam']])
254 "._20_0w25_sam__"
254 "._20_0w25_sam__"
255− ~zod/try=> ~(rend co %blob [1 1])
255+ > ~(rend co %blob [1 1])
256 "~0ph"
256 "~0ph"
257− ~zod/try=> ~0ph
257+ > ~0ph
258 [1 1]
258 [1 1]
259− ~zod/try=> `@uv`(jam [1 1])
259+ > `@uv`(jam [1 1])
260 0vph
260 0vph
261
261
262
262
@@ -276,11 +276,11 @@ Source
276Examples
276Examples
277--------
277--------
278
278
279− ~zod/try=> (scan "a" alf)
279+ > (scan "a" alf)
280 ~~a
280 ~~a
281− ~zod/try=> (scan "A" alf)
281+ > (scan "A" alf)
282 ~~~41.
282 ~~~41.
283− ~zod/try=> (scan "AaBbCc" (star alf))
283+ > (scan "AaBbCc" (star alf))
284 "AaBbCc"
284 "AaBbCc"
285
285
286
286
@@ -300,11 +300,11 @@ Source
300Examples
300Examples
301--------
301--------
302
302
303− ~zod/try=> (scan "0" aln)
303+ > (scan "0" aln)
304 ~~0
304 ~~0
305− ~zod/try=> (scan "alf42" (star aln))
305+ > (scan "alf42" (star aln))
306 "alf42"
306 "alf42"
307− ~zod/try=> (scan "0123456789abcdef" (star aln))
307+ > (scan "0123456789abcdef" (star aln))
308 "0123456789abcdef"
308 "0123456789abcdef"
309
309
310
310
@@ -324,11 +324,11 @@ Source
324Examples
324Examples
325--------
325--------
326
326
327− ~zod/try=> (scan "7" alp)
327+ > (scan "7" alp)
328 ~~7
328 ~~7
329− ~zod/try=> (scan "s" alp)
329+ > (scan "s" alp)
330 ~~s
330 ~~s
331− ~zod/try=> (scan "123abc-" (star alp))
331+ > (scan "123abc-" (star alp))
332 "123abc-"
332 "123abc-"
333
333
334
334
@@ -349,9 +349,9 @@ Source
349Examples
349Examples
350--------
350--------
351
351
352− ~zod/try=> (scan "-" bet)
352+ > (scan "-" bet)
353 2
353 2
354− ~zod/try=> (scan "+" bet)
354+ > (scan "+" bet)
355 3
355 3
356
356
357
357
@@ -371,13 +371,13 @@ Source
371Examples
371Examples
372--------
372--------
373
373
374− ~zod/try=> (scan "0000" bin)
374+ > (scan "0000" bin)
375 0
375 0
376− ~zod/try=> (scan "0001" bin)
376+ > (scan "0001" bin)
377 1
377 1
378− ~zod/try=> (scan "0010" bin)
378+ > (scan "0010" bin)
379 2
379 2
380− ~zod/try=> (scan "100000001111" bin)
380+ > (scan "100000001111" bin)
381 2.063
381 2.063
382
382
383
383
@@ -397,15 +397,15 @@ Source
397Examples
397Examples
398--------
398--------
399
399
400− ~zod/try=> (scan "0" but)
400+ > (scan "0" but)
401 0
401 0
402− ~zod/try=> (scan "1" but)
402+ > (scan "1" but)
403 1
403 1
404− ~zod/try=> (scan "01" but)
404+ > (scan "01" but)
405 ! {1 2}
405 ! {1 2}
406 ! 'syntax-error'
406 ! 'syntax-error'
407 ! exit
407 ! exit
408− ~zod/try=> (scan "01" (star but))
408+ > (scan "01" (star but))
409 ~[0 1]
409 ~[0 1]
410
410
411
411
@@ -425,15 +425,15 @@ Source
425Examples
425Examples
426--------
426--------
427
427
428− ~zod/try=> (scan "1" cit)
428+ > (scan "1" cit)
429 1
429 1
430− ~zod/try=> (scan "7" cit)
430+ > (scan "7" cit)
431 7
431 7
432− ~zod/try=> (scan "8" cit)
432+ > (scan "8" cit)
433 ! {1 1}
433 ! {1 1}
434 ! 'syntax-error'
434 ! 'syntax-error'
435 ! exit
435 ! exit
436− ~zod/try=> (scan "60" (star cit))
436+ > (scan "60" (star cit))
437 ~[6 0]
437 ~[6 0]
438
438
439
439
@@ -453,13 +453,13 @@ Source
453Examples
453Examples
454--------
454--------
455
455
456− ~zod/try=> (scan "7" dem)
456+ > (scan "7" dem)
457 7
457 7
458− ~zod/try=> (scan "42" dem)
458+ > (scan "42" dem)
459 42
459 42
460− ~zod/try=> (scan "150000000" dem)
460+ > (scan "150000000" dem)
461 150.000.000
461 150.000.000
462− ~zod/try=> (scan "12456" dem)
462+ > (scan "12456" dem)
463 12.456
463 12.456
464
464
465
465
@@ -479,11 +479,11 @@ Source
479Examples
479Examples
480--------
480--------
481
481
482− ~zod/try=> (scan "7" dit)
482+ > (scan "7" dit)
483 7
483 7
484− ~zod/try=> (scan "42" (star dit))
484+ > (scan "42" (star dit))
485 ~[4 2]
485 ~[4 2]
486− ~zod/try=> (scan "26000" (star dit))
486+ > (scan "26000" (star dit))
487 ~[2 6 0 0 0]
487 ~[2 6 0 0 0]
488
488
489
489
@@ -503,10 +503,10 @@ Source
503Examples
503Examples
504--------
504--------
505
505
506− /~zod/try=> 1.234.
506+ /> 1.234.
507 703
507 703
508 1.234.703
508 1.234.703
509− ~zod/try=> (scan "a. " ;~(pfix alf dog))
509+ > (scan "a. " ;~(pfix alf dog))
510 [~~~. ~]
510 [~~~. ~]
511
511
512
512
@@ -526,14 +526,14 @@ Source
526Examples
526Examples
527--------
527--------
528
528
529− /~zod/try=> ~nopfel-botduc-nilnev-dolfyn--haspub-natlun-lodmur-holtyd
529+ /> ~nopfel-botduc-nilnev-dolfyn--haspub-natlun-lodmur-holtyd
530 ~nopfel-botduc-nilnev-dolfyn--haspub-natlun-lodmur-holtyd
530 ~nopfel-botduc-nilnev-dolfyn--haspub-natlun-lodmur-holtyd
531− /~zod/try=> ~nopfel-botduc-nilnev-dolfyn--
531+ /> ~nopfel-botduc-nilnev-dolfyn--
532 haspub-natlun-lodmur-holtyd
532 haspub-natlun-lodmur-holtyd
533 ~nopfel-botduc-nilnev-dolfyn--haspub-natlun-lodmur-holtyd
533 ~nopfel-botduc-nilnev-dolfyn--haspub-natlun-lodmur-holtyd
534− ~zod/try=> (scan "--" doh)
534+ > (scan "--" doh)
535 [[~~- ~~-] ~]
535 [[~~- ~~-] ~]
536− ~zod/try=> (scan "-- " doh)
536+ > (scan "-- " doh)
537 [[~~- ~~-] ~]
537 [[~~- ~~-] ~]
538
538
539
539
@@ -553,9 +553,9 @@ Source
553Examples
553Examples
554--------
554--------
555
555
556− ~zod/try=> (scan "--" dun)
556+ > (scan "--" dun)
557 ~
557 ~
558− ~zod/try=> (dun [[1 1] "--"])
558+ > (dun [[1 1] "--"])
559 [p=[p=1 q=3] q=[~ u=[p=~ q=[p=[p=1 q=3] q=""]]]]
559 [p=[p=1 q=3] q=[~ u=[p=~ q=[p=[p=1 q=3] q=""]]]]
560
560
561
561
@@ -576,9 +576,9 @@ Source
576Examples
576Examples
577--------
577--------
578
578
579− ~zod/try=> (scan "==" duz)
579+ > (scan "==" duz)
580 ~
580 ~
581− ~zod/try=> (duz [[1 1] "== |=..."])
581+ > (duz [[1 1] "== |=..."])
582 [p=[p=1 q=3] q=[~ u=[p=~ q=[p=[p=1 q=3] q=" |=..."]]]]
582 [p=[p=1 q=3] q=[~ u=[p=~ q=[p=[p=1 q=3] q=" |=..."]]]]
583
583
584
584
@@ -599,19 +599,19 @@ Source
599Examples
599Examples
600--------
600--------
601
601
602− /~zod/try=> ^- * :: show spaces
602+ /> ^- * :: show spaces
603 """
603 """
604 -
604 -
605 -
605 -
606 -
606 -
607 """
607 """
608 [32 32 32 45 10 32 45 10 32 32 45 0]
608 [32 32 32 45 10 32 45 10 32 32 45 0]
609− /~zod/try=> ^- *
609+ /> ^- *
610 """
610 """
611
611
612 """
612 """
613 [32 32 32 10 32 10 32 32 0]
613 [32 32 32 10 32 10 32 32 0]
614− /~zod/try=> ^- (list ,@)
614+ /> ^- (list ,@)
615 %- scan :_ (star gah)
615 %- scan :_ (star gah)
616 """
616 """
617
617
@@ -697,9 +697,9 @@ Examples
697--------
697--------
698characters bas and fas.
698characters bas and fas.
699
699
700− ~zod/try=> (scan "\\/" gon)
700+ > (scan "\\/" gon)
701 [~~~5c. ~ ~~~2f.]
701 [~~~5c. ~ ~~~2f.]
702− ~zod/try=> (gon [[1 1] "\\/"])
702+ > (gon [[1 1] "\\/"])
703 [p=[p=1 q=3] q=[~ u=[p=[~~~5c. ~ ~~~2f.] q=[p=[p=1 q=3] q=""]]]]
703 [p=[p=1 q=3] q=[~ u=[p=[~~~5c. ~ ~~~2f.] q=[p=[p=1 q=3] q=""]]]]
704
704
705
705
@@ -719,9 +719,9 @@ Source
719Examples
719Examples
720--------
720--------
721
721
722− ~zod/try=> (scan "<" gul)
722+ > (scan "<" gul)
723 2
723 2
724− ~zod/try=> (scan ">" gul)
724+ > (scan ">" gul)
725 3
725 3
726
726
727
727
@@ -741,19 +741,19 @@ Source
741Examples
741Examples
742--------
742--------
743
743
744− ~zod/try=> (scan "a" hex)
744+ > (scan "a" hex)
745 10
745 10
746− ~zod/try=> (scan "A" hex)
746+ > (scan "A" hex)
747 10
747 10
748− ~zod/try=> (scan "2A" hex)
748+ > (scan "2A" hex)
749 42
749 42
750− ~zod/try=> (scan "1ee7" hex)
750+ > (scan "1ee7" hex)
751 7.911
751 7.911
752− ~zod/try=> (scan "1EE7" hex)
752+ > (scan "1EE7" hex)
753 7.911
753 7.911
754− ~zod/try=> (scan "1EE7F7" hex)
754+ > (scan "1EE7F7" hex)
755 2.025.463
755 2.025.463
756− ~zod/try=> `@ux`(scan "1EE7F7" hex)
756+ > `@ux`(scan "1EE7F7" hex)
757 0x1e.e7f7
757 0x1e.e7f7
758
758
759
759
@@ -772,13 +772,13 @@ Source
772Examples
772Examples
773--------
773--------
774
774
775− ~zod/try=> (scan "G" hig)
775+ > (scan "G" hig)
776 ~~~47.
776 ~~~47.
777− ~zod/try=> `cord`(scan "G" hig)
777+ > `cord`(scan "G" hig)
778 'G'
778 'G'
779− ~zod/try=> (scan "ABCDEFGHIJKLMNOPQRSTUVWXYZ" (star hig))
779+ > (scan "ABCDEFGHIJKLMNOPQRSTUVWXYZ" (star hig))
780 "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
780 "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
781− ~zod/try=> (hig [[1 1] "G"])
781+ > (hig [[1 1] "G"])
782 [p=[p=1 q=2] q=[~ [p=~~~47. q=[p=[p=1 q=2] q=""]]]]
782 [p=[p=1 q=2] q=[~ [p=~~~47. q=[p=[p=1 q=2] q=""]]]]
783
783
784
784
@@ -802,13 +802,13 @@ Source
802Examples
802Examples
803--------
803--------
804
804
805− ~zod/try=> (scan "a" hit)
805+ > (scan "a" hit)
806 10
806 10
807− ~zod/try=> (scan "A" hit)
807+ > (scan "A" hit)
808 10
808 10
809− ~zod/try=> (hit [[1 1] "a"])
809+ > (hit [[1 1] "a"])
810 [p=[p=1 q=2] q=[~ [p=10 q=[p=[p=1 q=2] q=""]]]]
810 [p=[p=1 q=2] q=[~ [p=10 q=[p=[p=1 q=2] q=""]]]]
811− ~zod/try=> (scan "2A" (star hit))
811+ > (scan "2A" (star hit))
812 ~[2 10]
812 ~[2 10]
813
813
814
814
@@ -856,17 +856,17 @@ Source
856Examples
856Examples
857--------
857--------
858
858
859− ~zod/try=> (scan "abc" (iny (star ;~(pose prn (just `@`10)))))
859+ > (scan "abc" (iny (star ;~(pose prn (just `@`10)))))
860 "abc"
860 "abc"
861− ~zod/try=> (scan "abc" (star ;~(pose prn (just `@`10))))
861+ > (scan "abc" (star ;~(pose prn (just `@`10))))
862 "abc"
862 "abc"
863− ~zod/try=> (scan " abc\0ade" ;~(pfix ace ace (star ;~(pose prn (just `@`10)))))
863+ > (scan " abc\0ade" ;~(pfix ace ace (star ;~(pose prn (just `@`10)))))
864 "abc
864 "abc
865 de"
865 de"
866− ~zod/try=> (scan " abc\0ade" ;~(pfix ace ace (iny (star ;~(pose prn (just `@`10))))))
866+ > (scan " abc\0ade" ;~(pfix ace ace (iny (star ;~(pose prn (just `@`10))))))
867 ! {1 6}
867 ! {1 6}
868 ! exit
868 ! exit
869− ~zod/try=> (scan " abc\0a de" ;~(pfix ace ace (iny (star ;~(pose prn (just `@`10))))))
869+ > (scan " abc\0a de" ;~(pfix ace ace (iny (star ;~(pose prn (just `@`10))))))
870 "abc
870 "abc
871 de"
871 de"
872
872
@@ -887,13 +887,13 @@ Source
887Examples
887Examples
888--------
888--------
889
889
890− ~zod/try=> (scan "g" low)
890+ > (scan "g" low)
891 ~~g
891 ~~g
892− ~zod/try=> `cord`(scan "g" low)
892+ > `cord`(scan "g" low)
893 'g'
893 'g'
894− ~zod/try=> (scan "abcdefghijklmnopqrstuvwxyz" (star low))
894+ > (scan "abcdefghijklmnopqrstuvwxyz" (star low))
895 "abcdefghijklmnopqrstuvwxyz"
895 "abcdefghijklmnopqrstuvwxyz"
896− ~zod/try=> (low [[1 1] "g"])
896+ > (low [[1 1] "g"])
897 [p=[p=1 q=2] q=[~ [p=~~g q=[p=[p=1 q=2] q=""]]]]
897 [p=[p=1 q=2] q=[~ [p=~~g q=[p=[p=1 q=2] q=""]]]]
898
898
899
899
@@ -915,11 +915,11 @@ Source
915Examples
915Examples
916--------
916--------
917
917
918− ~zod/try=> (scan "2A" mes)
918+ > (scan "2A" mes)
919 42
919 42
920− ~zod/try=> (mes [[1 1] "2A"])
920+ > (mes [[1 1] "2A"])
921 [p=[p=1 q=3] q=[~ u=[p=42 q=[p=[p=1 q=3] q=""]]]]
921 [p=[p=1 q=3] q=[~ u=[p=42 q=[p=[p=1 q=3] q=""]]]]
922− ~zod/try=> (scan "42" mes)
922+ > (scan "42" mes)
923 66
923 66
924
924
925
925
@@ -939,9 +939,9 @@ Source
939Examples
939Examples
940--------
940--------
941
941
942− ~zod/try=> (scan "as_me" nix)
942+ > (scan "as_me" nix)
943 q=435.626.668.897
943 q=435.626.668.897
944− ~zod/try=> `@t`(scan "as_me" nix)
944+ > `@t`(scan "as_me" nix)
945 'as_me'
945 'as_me'
946
946
947
947
@@ -962,13 +962,13 @@ Source
962Examples
962Examples
963--------
963--------
964
964
965− ~zod/try=> (scan "0" nud)
965+ > (scan "0" nud)
966 ~~0
966 ~~0
967− ~zod/try=> (scan "7" nud)
967+ > (scan "7" nud)
968 ~~7
968 ~~7
969− ~zod/try=> (nud [[1 1] "1"])
969+ > (nud [[1 1] "1"])
970 [p=[p=1 q=2] q=[~ [p=~~1 q=[p=[p=1 q=2] q=""]]]]
970 [p=[p=1 q=2] q=[~ [p=~~1 q=[p=[p=1 q=2] q=""]]]]
971− ~zod/try=> (scan "0123456789" (star nud))
971+ > (scan "0123456789" (star nud))
972 "0123456789"
972 "0123456789"
973
973
974
974
@@ -987,11 +987,11 @@ Source
987Examples
987Examples
988--------
988--------
989
989
990− ~zod/try=> (scan "h" prn)
990+ > (scan "h" prn)
991 ~~h
991 ~~h
992− ~zod/try=> (scan "!" prn)
992+ > (scan "!" prn)
993 ~~~21.
993 ~~~21.
994− ~zod/try=> (scan "\01" prn)
994+ > (scan "\01" prn)
995 ! {1 1}
995 ! {1 1}
996 ! exit
996 ! exit
997
997
@@ -1015,21 +1015,21 @@ Source
1015Examples
1015Examples
1016--------
1016--------
1017
1017
1018− ~zod/try=> (scan "%" qit)
1018+ > (scan "%" qit)
1019 37
1019 37
1020− ~zod/try=> `@t`(scan "%" qit)
1020+ > `@t`(scan "%" qit)
1021 '%'
1021 '%'
1022− ~zod/try=> (scan "0" qit)
1022+ > (scan "0" qit)
1023 48
1023 48
1024− ~zod/try=> (scan "E" qit)
1024+ > (scan "E" qit)
1025 69
1025 69
1026− ~zod/try=> (scan "a" qit)
1026+ > (scan "a" qit)
1027 97
1027 97
1028− ~zod/try=> (scan "\\0a" qit)
1028+ > (scan "\\0a" qit)
1029 10
1029 10
1030− ~zod/try=> `@ux`(scan "\\0a" qit)
1030+ > `@ux`(scan "\\0a" qit)
1031 0xa
1031 0xa
1032− ~zod/try=> (scan "cord" (star qit))
1032+ > (scan "cord" (star qit))
1033 ~[99 111 114 100]
1033 ~[99 111 114 100]
1034
1034
1035
1035
@@ -1052,21 +1052,21 @@ Source
1052Examples
1052Examples
1053--------
1053--------
1054
1054
1055− ~zod/try=> (scan "%" qit)
1055+ > (scan "%" qit)
1056 37
1056 37
1057− ~zod/try=> `@t`(scan "%" qit)
1057+ > `@t`(scan "%" qit)
1058 '%'
1058 '%'
1059− ~zod/try=> (scan "0" qit)
1059+ > (scan "0" qit)
1060 48
1060 48
1061− ~zod/try=> (scan "E" qit)
1061+ > (scan "E" qit)
1062 69
1062 69
1063− ~zod/try=> (scan "a" qit)
1063+ > (scan "a" qit)
1064 97
1064 97
1065− ~zod/try=> (scan "\\0a" qit)
1065+ > (scan "\\0a" qit)
1066 10
1066 10
1067− ~zod/try=> `@ux`(scan "\\0a" qit)
1067+ > `@ux`(scan "\\0a" qit)
1068 0xa
1068 0xa
1069− ~zod/try=> (scan "cord" (star qit))
1069+ > (scan "cord" (star qit))
1070 ~[99 111 114 100]
1070 ~[99 111 114 100]
1071
1071
1072
1072
@@ -1099,13 +1099,13 @@ Source
1099Examples
1099Examples
1100--------
1100--------
1101
1101
1102− ~zod/try=> (scan "'cord'" qut)
1102+ > (scan "'cord'" qut)
1103 q=1.685.221.219
1103 q=1.685.221.219
1104− ~zod/try=> 'cord'
1104+ > 'cord'
1105 'cord'
1105 'cord'
1106− ~zod/try=> `@ud`'cord'
1106+ > `@ud`'cord'
1107 1.685.221.219
1107 1.685.221.219
1108− /~zod/try=> '''
1108+ /> '''
1109 Heredoc isn't prohibited from containing quotes
1109 Heredoc isn't prohibited from containing quotes
1110 '''
1110 '''
1111 'Heredoc isn't prohibited from containing quotes'
1111 'Heredoc isn't prohibited from containing quotes'
@@ -1127,9 +1127,9 @@ Source
1127Examples
1127Examples
1128--------
1128--------
1129
1129
1130− ~zod/try=> (scan "'''" soz)
1130+ > (scan "'''" soz)
1131 [~~~27. ~~~27. ~~~27.]
1131 [~~~27. ~~~27. ~~~27.]
1132− ~zod/try=> (rash '"""' soz)
1132+ > (rash '"""' soz)
1133 ! {1 1}
1133 ! {1 1}
1134 ! exit
1134 ! exit
1135
1135
@@ -1154,11 +1154,11 @@ Source
1154Examples
1154Examples
1155--------
1155--------
1156
1156
1157− ~zod/try=> (scan "sam-2" sym)
1157+ > (scan "sam-2" sym)
1158 215.510.507.891
1158 215.510.507.891
1159− ~zod/try=> `@t`(scan "sam-2" sym)
1159+ > `@t`(scan "sam-2" sym)
1160 'sam-2'
1160 'sam-2'
1161− ~zod/try=> (scan "sym" sym)
1161+ > (scan "sym" sym)
1162 7.174.515
1162 7.174.515
1163
1163
1164
1164
@@ -1252,9 +1252,9 @@ with a newline character.
1252Examples
1252Examples
1253--------
1253--------
1254
1254
1255− ~zod/try=> (scan "::this is a comment \0a" vul)
1255+ > (scan "::this is a comment \0a" vul)
1256 ~
1256 ~
1257− ~zod/try=> (scan "::this is a comment " vul)
1257+ > (scan "::this is a comment " vul)
1258 ! {1 21}
1258 ! {1 21}
1259 ! exit
1259 ! exit
1260
1260
docs/system/hoon/library/4l.md+43−43
@@ -20,7 +20,7 @@ Source
20Examples
20Examples
21--------
21--------
22
22
23− ~zod/try=> so
23+ > so
24 <10.mkn 414.hhh 100.xkc 1.ypj %164>
24 <10.mkn 414.hhh 100.xkc 1.ypj %164>
25
25
26------------------------------------------------------------------------
26------------------------------------------------------------------------
@@ -58,9 +58,9 @@ Source
58Examples
58Examples
59--------
59--------
60
60
61− ~zod/try=> (scan "25" bisk:so)
61+ > (scan "25" bisk:so)
62 [%ud q=25]
62 [%ud q=25]
63− ~zod/try=> (scan "0x12.6401" bisk:so)
63+ > (scan "0x12.6401" bisk:so)
64 [%ux q=1.205.249]
64 [%ux q=1.205.249]
65
65
66------------------------------------------------------------------------
66------------------------------------------------------------------------
@@ -242,17 +242,17 @@ Source
242Examples
242Examples
243--------
243--------
244
244
245− ~zod/try=> (scan "1926.5.12" crub:so)
245+ > (scan "1926.5.12" crub:so)
246 [p=~.da q=170.141.184.449.747.016.871.285.095.307.149.312.000]
246 [p=~.da q=170.141.184.449.747.016.871.285.095.307.149.312.000]
247− ~zod/try=> ([%da @da] (scan "1926.5.12" crub:so))
247+ > ([%da @da] (scan "1926.5.12" crub:so))
248 [%da ~1926.5.12]
248 [%da ~1926.5.12]
249− ~zod/try=> (scan "s10" crub:so)
249+ > (scan "s10" crub:so)
250 [p=~.dr q=184.467.440.737.095.516.160]
250 [p=~.dr q=184.467.440.737.095.516.160]
251− ~zod/try=> ([%dr @dr] (scan "s10" crub:so))
251+ > ([%dr @dr] (scan "s10" crub:so))
252 [%dr ~s10]
252 [%dr ~s10]
253− ~zod/try=> (scan "doznec" crub:so)
253+ > (scan "doznec" crub:so)
254 [%p 256]
254 [%p 256]
255− ~zod/try=> (scan ".mas" crub:so)
255+ > (scan ".mas" crub:so)
256 [%ta 7.561.581]
256 [%ta 7.561.581]
257
257
258------------------------------------------------------------------------
258------------------------------------------------------------------------
@@ -290,26 +290,26 @@ Source
290Examples
290Examples
291--------
291--------
292
292
293− ~zod/try=> (scan "~pillyt" nuck:so)
293+ > (scan "~pillyt" nuck:so)
294 [% p=[p=~.p q=32.819]]
294 [% p=[p=~.p q=32.819]]
295− ~zod/try=> (scan "0x12" nuck:so)
295+ > (scan "0x12" nuck:so)
296 [% p=[p=~.ux q=18]]
296 [% p=[p=~.ux q=18]]
297− ~zod/try=> (scan ".127.0.0.1" nuck:so)
297+ > (scan ".127.0.0.1" nuck:so)
298 [% p=[p=~.if q=2.130.706.433]]
298 [% p=[p=~.if q=2.130.706.433]]
299− ~zod/try=> `@ud`.127.0.0.1
299+ > `@ud`.127.0.0.1
300 2.130.706.433
300 2.130.706.433
301− ~zod/try=> (scan "._20_0w25_sam__" nuck:so)
301+ > (scan "._20_0w25_sam__" nuck:so)
302 [ %many
302 [ %many
303 p
303 p
304 ~[[% p=[p=~.ud q=20]] [% p=[p=~.uw q=133]] [% p=[p=~.tas q=7.168.371]]]
304 ~[[% p=[p=~.ud q=20]] [% p=[p=~.uw q=133]] [% p=[p=~.tas q=7.168.371]]]
305 ]
305 ]
306− ~zod/try=> `@`%sam
306+ > `@`%sam
307 7.168.371
307 7.168.371
308− ~zod/try=> (scan "~0ph" nuck:so)
308+ > (scan "~0ph" nuck:so)
309 [%blob p=[1 1]]
309 [%blob p=[1 1]]
310− ~zod/try=> ~0ph
310+ > ~0ph
311 [1 1]
311 [1 1]
312− ~zod/try=> `@uv`(jam [1 1])
312+ > `@uv`(jam [1 1])
313 0vph
313 0vph
314
314
315------------------------------------------------------------------------
315------------------------------------------------------------------------
@@ -336,13 +336,13 @@ Source
336Examples
336Examples
337--------
337--------
338
338
339− ~zod/try=> ~.asd_a
339+ > ~.asd_a
340 ~.asd_a
340 ~.asd_a
341− ~zod/try=> ._1_~~.asd~-a__
341+ > ._1_~~.asd~-a__
342 [1 ~.asd_a]
342 [1 ~.asd_a]
343− ~zod/try=> (scan "~~.asd~-a" nusk:so)
343+ > (scan "~~.asd~-a" nusk:so)
344 [% p=[p=~.ta q=418.212.246.369]]
344 [% p=[p=~.ta q=418.212.246.369]]
345− ~zod/try=> ([~ %ta @ta] (scan "~~.asd~-a" nusk:so))
345+ > ([~ %ta @ta] (scan "~~.asd~-a" nusk:so))
346 [~ %ta ~.asd_a]
346 [~ %ta ~.asd_a]
347
347
348------------------------------------------------------------------------
348------------------------------------------------------------------------
@@ -372,13 +372,13 @@ Source
372Examples
372Examples
373--------
373--------
374
374
375− ~zod/try=> (scan "y" perd:so)
375+ > (scan "y" perd:so)
376 [~ [%f %.y]]
376 [~ [%f %.y]]
377− ~zod/try=> (scan "n" perd:so)
377+ > (scan "n" perd:so)
378 [~ [%f %.n]]
378 [~ [%f %.n]]
379− ~zod/try=> |
379+ > |
380 %.n
380 %.n
381− ~zod/try=> (scan "_20_x__" perd:so)
381+ > (scan "_20_x__" perd:so)
382 [%many [[% p=[p=~.ud q=20]] ~[[% p=[p=~.tas q=120]]]]]
382 [%many [[% p=[p=~.ud q=20]] ~[[% p=[p=~.tas q=120]]]]]
383
383
384------------------------------------------------------------------------
384------------------------------------------------------------------------
@@ -447,9 +447,9 @@ Source
447Examples
447Examples
448--------
448--------
449
449
450− ~zod/try=> (scan "~3.14" royl:so)
450+ > (scan "~3.14" royl:so)
451 [%rd .~3.13999999999999]
451 [%rd .~3.13999999999999]
452− ~zod/try=> .~3.14
452+ > .~3.14
453 .~3.13999999999999
453 .~3.13999999999999
454
454
455------------------------------------------------------------------------
455------------------------------------------------------------------------
@@ -503,13 +503,13 @@ Source
503Examples
503Examples
504--------
504--------
505
505
506− ~zod/try=> (scan "-20" tash:so)
506+ > (scan "-20" tash:so)
507 [p=~.sd q=39]
507 [p=~.sd q=39]
508− ~zod/try=> (,[%sd @sd] (scan "-20" tash:so))
508+ > (,[%sd @sd] (scan "-20" tash:so))
509 [%sd -20]
509 [%sd -20]
510− ~zod/try=> (,[%sd @sd] (scan "--20" tash:so))
510+ > (,[%sd @sd] (scan "--20" tash:so))
511 [%sd --20]
511 [%sd --20]
512− ~zod/try=> (,[%sx @sx] (scan "--0x2e" tash:so))
512+ > (,[%sx @sx] (scan "--0x2e" tash:so))
513 [%sx --0x2e]
513 [%sx --0x2e]
514
514
515------------------------------------------------------------------------
515------------------------------------------------------------------------
@@ -539,15 +539,15 @@ Source
539Examples
539Examples
540--------
540--------
541
541
542− ~zod/try=> (scan "zod" twid:so)
542+ > (scan "zod" twid:so)
543 [~ [%p 0]]
543 [~ [%p 0]]
544− ~zod/try=> (scan ".sam" twid:so)
544+ > (scan ".sam" twid:so)
545 [~ [%ta 7.168.371]]
545 [~ [%ta 7.168.371]]
546− ~zod/try=> `@ud`~.sam
546+ > `@ud`~.sam
547 7.168.371
547 7.168.371
548− ~zod/try=> `@t`~.sam
548+ > `@t`~.sam
549 'sam'
549 'sam'
550− ~zod/try=> (scan "0ph" twid:so)
550+ > (scan "0ph" twid:so)
551 [%blob [1 1]]
551 [%blob [1 1]]
552
552
553------------------------------------------------------------------------
553------------------------------------------------------------------------
@@ -580,17 +580,17 @@ Source
580Examples
580Examples
581--------
581--------
582
582
583− ~zod/try=> (scan "127.0.0.1" zust:so)
583+ > (scan "127.0.0.1" zust:so)
584 [%if q=2.130.706.433]
584 [%if q=2.130.706.433]
585− ~zod/try=> (scan "af.0.0.0.0.e7a5.30d2.7" zust:so)
585+ > (scan "af.0.0.0.0.e7a5.30d2.7" zust:so)
586 [%is q=908.651.950.243.594.834.993.091.554.288.205.831]
586 [%is q=908.651.950.243.594.834.993.091.554.288.205.831]
587− ~zod/try=> (,[%is @is] (scan "af.0.0.0.0.e7a5.30d2.7" zust:so))
587+ > (,[%is @is] (scan "af.0.0.0.0.e7a5.30d2.7" zust:so))
588 [%is .af.0.0.0.0.e7a5.30d2.7]
588 [%is .af.0.0.0.0.e7a5.30d2.7]
589− ~zod/try=> (,[%is @ux] (scan "af.0.0.0.0.e7a5.30d2.7" zust:so))
589+ > (,[%is @ux] (scan "af.0.0.0.0.e7a5.30d2.7" zust:so))
590 [%is 0xaf.0000.0000.0000.0000.e7a5.30d2.0007]
590 [%is 0xaf.0000.0000.0000.0000.e7a5.30d2.0007]
591− ~zod/try=> (scan "y" zust:so)
591+ > (scan "y" zust:so)
592 [%f %.y]
592 [%f %.y]
593− ~zod/try=> (scan "12.09" zust:so)
593+ > (scan "12.09" zust:so)
594 [%rd .~12.00999999999999]
594 [%rd .~12.00999999999999]
595
595
596
596
docs/system/hoon/library/4m.md+56−56
@@ -21,21 +21,21 @@ Source
21Examples
21Examples
22--------
22--------
23
23
24− ~zod/try=> (scot %p ~pillyt)
24+ > (scot %p ~pillyt)
25 ~.~pillyt
25 ~.~pillyt
26− ~zod/try=> `@t`(scot %p ~pillyt)
26+ > `@t`(scot %p ~pillyt)
27 '~pillyt'
27 '~pillyt'
28− ~zod/try=> (scot %ux 0x12)
28+ > (scot %ux 0x12)
29 ~.0x12
29 ~.0x12
30− ~zod/try=> `@t`(scot %ux 0x12)
30+ > `@t`(scot %ux 0x12)
31 '0x12'
31 '0x12'
32− ~zod/try=> (scot %if .127.0.0.1)
32+ > (scot %if .127.0.0.1)
33 ~..127.0.0.1
33 ~..127.0.0.1
34− ~zod/try=> `@t`(scot %if .127.0.0.1)
34+ > `@t`(scot %if .127.0.0.1)
35 '.127.0.0.1'
35 '.127.0.0.1'
36− ~zod/try=> (scot %ta ~.asd_a)
36+ > (scot %ta ~.asd_a)
37 ~.~.asd_a
37 ~.~.asd_a
38− ~zod/try=> `@t`(scot %ta ~.asd_a)
38+ > `@t`(scot %ta ~.asd_a)
39 '~.asd_a'
39 '~.asd_a'
40
40
41
41
@@ -63,13 +63,13 @@ Source
63Examples
63Examples
64--------
64--------
65
65
66− ~zod/try=> (scow %p ~pillyt)
66+ > (scow %p ~pillyt)
67 "~pillyt"
67 "~pillyt"
68− ~zod/try=> (scow %ux 0x12)
68+ > (scow %ux 0x12)
69 "0x12"
69 "0x12"
70− ~zod/try=> (scow %if .127.0.0.1)
70+ > (scow %if .127.0.0.1)
71 ".127.0.0.1"
71 ".127.0.0.1"
72− ~zod/try=> (scow %ta ~.asd_a)
72+ > (scow %ta ~.asd_a)
73 "~.asd_a"
73 "~.asd_a"
74
74
75
75
@@ -100,13 +100,13 @@ Source
100Examples
100Examples
101--------
101--------
102
102
103− ~zod/try=> `(unit @p)`((slat %p) '~pillyt')
103+ > `(unit @p)`((slat %p) '~pillyt')
104 [~ ~pillyt]
104 [~ ~pillyt]
105− ~zod/try=> `(unit @ux)`((slat %ux) '0x12')
105+ > `(unit @ux)`((slat %ux) '0x12')
106 [~ 0x12]
106 [~ 0x12]
107− ~zod/try=> `(unit @if)`((slat %if) '.127.0.0.1')
107+ > `(unit @if)`((slat %if) '.127.0.0.1')
108 [~ .127.0.0.1]
108 [~ .127.0.0.1]
109− ~zod/try=> `(unit @ta)`((slat %ta) '~.asd_a')
109+ > `(unit @ta)`((slat %ta) '~.asd_a')
110 [~ ~.asd_a
110 [~ ~.asd_a
111
111
112
112
@@ -137,21 +137,21 @@ Source
137Examples
137Examples
138--------
138--------
139
139
140− ~zod/try=> `@p`(slav %p '~pillyt')
140+ > `@p`(slav %p '~pillyt')
141 ~pillyt
141 ~pillyt
142− ~zod/try=> `@p`(slav %p '~pillam')
142+ > `@p`(slav %p '~pillam')
143 ! exit
143 ! exit
144− ~zod/try=> `@ux`(slav %ux '0x12')
144+ > `@ux`(slav %ux '0x12')
145 0x12
145 0x12
146− ~zod/try=> `@ux`(slav %ux '0b10')
146+ > `@ux`(slav %ux '0b10')
147 ! exit
147 ! exit
148− ~zod/try=> `@if`(slav %if '.127.0.0.1')
148+ > `@if`(slav %if '.127.0.0.1')
149 .127.0.0.1
149 .127.0.0.1
150− ~zod/try=> `@if`(slav %if '.fe80.0.0.202')
150+ > `@if`(slav %if '.fe80.0.0.202')
151 ! exit
151 ! exit
152− ~zod/try=> `@ta`(slav %ta '~.asd_a')
152+ > `@ta`(slav %ta '~.asd_a')
153 ~.asd_a
153 ~.asd_a
154− ~zod/try=> `@ta`(slav %ta '~~asd-a')
154+ > `@ta`(slav %ta '~~asd-a')
155 ! exit
155 ! exit
156
156
157
157
@@ -187,21 +187,21 @@ Source
187Examples
187Examples
188--------
188--------
189
189
190− ~zod/try=> `(unit @p)`(slaw %p '~pillyt')
190+ > `(unit @p)`(slaw %p '~pillyt')
191 [~ ~pillyt]
191 [~ ~pillyt]
192− ~zod/try=> `(unit @p)`(slaw %p '~pillam')
192+ > `(unit @p)`(slaw %p '~pillam')
193 ~
193 ~
194− ~zod/try=> `(unit @ux)`(slaw %ux '0x12')
194+ > `(unit @ux)`(slaw %ux '0x12')
195 [~ 0x12]
195 [~ 0x12]
196− ~zod/try=> `(unit @ux)`(slaw %ux '0b10')
196+ > `(unit @ux)`(slaw %ux '0b10')
197 ~
197 ~
198− ~zod/try=> `(unit @if)`(slaw %if '.127.0.0.1')
198+ > `(unit @if)`(slaw %if '.127.0.0.1')
199 [~ .127.0.0.1]
199 [~ .127.0.0.1]
200− ~zod/try=> `(unit @if)`(slaw %if '.fe80.0.0.202')
200+ > `(unit @if)`(slaw %if '.fe80.0.0.202')
201 ~
201 ~
202− ~zod/try=> `(unit @ta)`(slaw %ta '~.asd_a')
202+ > `(unit @ta)`(slaw %ta '~.asd_a')
203 [~ ~.asd_a]
203 [~ ~.asd_a]
204− ~zod/try=> `(unit @ta)`(slaw %ta '~~asd-a')
204+ > `(unit @ta)`(slaw %ta '~~asd-a')
205 ~
205 ~
206
206
207
207
@@ -239,29 +239,29 @@ Source
239Examples
239Examples
240--------
240--------
241
241
242− ~zod/try=> (slay '~pillyt')
242+ > (slay '~pillyt')
243 [~ [% p=[p=~.p q=32.819]]]
243 [~ [% p=[p=~.p q=32.819]]]
244− ~zod/try=> (slay '0x12')
244+ > (slay '0x12')
245 [~ [% p=[p=~.ux q=18]]]
245 [~ [% p=[p=~.ux q=18]]]
246− ~zod/try=> (slay '.127.0.0.1')
246+ > (slay '.127.0.0.1')
247 [~ [% p=[p=~.if q=2.130.706.433]]]
247 [~ [% p=[p=~.if q=2.130.706.433]]]
248− ~zod/try=> `@ud`.127.0.0.1
248+ > `@ud`.127.0.0.1
249 2.130.706.433
249 2.130.706.433
250− ~zod/try=> (slay '._20_0w25_sam__')
250+ > (slay '._20_0w25_sam__')
251 [ ~
251 [ ~
252 [ %many
252 [ %many
253 p=~[[% p=[p=~.ud q=20]] [% p=[p=~.uw q=133]] [% p=[p=~.tas q=7.168.371]]]
253 p=~[[% p=[p=~.ud q=20]] [% p=[p=~.uw q=133]] [% p=[p=~.tas q=7.168.371]]]
254 ]
254 ]
255 ]
255 ]
256− ~zod/try=> `@`%sam
256+ > `@`%sam
257 7.168.371
257 7.168.371
258− ~zod/try=> (slay '~0ph')
258+ > (slay '~0ph')
259 [~ [%blob p=[1 1]]]
259 [~ [%blob p=[1 1]]]
260− ~zod/try=> 0ph
260+ > 0ph
261 ~ <syntax error at [1 2]>
261 ~ <syntax error at [1 2]>
262− ~zod/try=> ~0ph
262+ > ~0ph
263 [1 1]
263 [1 1]
264− ~zod/try=> `@uv`(jam [1 1])
264+ > `@uv`(jam [1 1])
265 0vph
265 0vph
266
266
267
267
@@ -294,7 +294,7 @@ Source
294Examples
294Examples
295--------
295--------
296
296
297− ~zod/try=> (smyt %)
297+ > (smyt %)
298 [ %rose
298 [ %rose
299 p=[p="/" q="/" r="/"]
299 p=[p="/" q="/" r="/"]
300 q
300 q
@@ -303,7 +303,7 @@ Examples
303 [%leaf p="~2014.10.28..18.36.58..a280"]
303 [%leaf p="~2014.10.28..18.36.58..a280"]
304 ]
304 ]
305 ]
305 ]
306− ~zod/try=> (smyt /as/les/top)
306+ > (smyt /as/les/top)
307 [ %rose
307 [ %rose
308 p=[p="/" q="/" r="/"]
308 p=[p="/" q="/" r="/"]
309 q=~[[%leaf p="as"] [%leaf p="les"] [%leaf p="top"]]
309 q=~[[%leaf p="as"] [%leaf p="les"] [%leaf p="top"]]
@@ -334,11 +334,11 @@ Source
334Examples
334Examples
335--------
335--------
336
336
337− ~zod/try=> (spat %)
337+ > (spat %)
338 '~zod/try/~2014.10.28..18.40.20..4287'
338 '~zod/try/~2014.10.28..18.40.20..4287'
339− ~zod/try=> (spat %/bin)
339+ > (spat %/bin)
340 '~zod/try/~2014.10.28..18.41.12..3bcd/bin'
340 '~zod/try/~2014.10.28..18.41.12..3bcd/bin'
341− ~zod/try=> (spat /as/les/top)
341+ > (spat /as/les/top)
342 '/as/les/top'
342 '/as/les/top'
343
343
344
344
@@ -366,11 +366,11 @@ Source
366Examples
366Examples
367--------
367--------
368
368
369− ~zod/try=> (spud %)
369+ > (spud %)
370 "~zod/try/~2014.10.28..18.40.46..e951"
370 "~zod/try/~2014.10.28..18.40.46..e951"
371− ~zod/try=> (spud %/bin)
371+ > (spud %/bin)
372 "~zod/try/~2014.10.28..18.41.05..16f2/bin"
372 "~zod/try/~2014.10.28..18.41.05..16f2/bin"
373− ~zod/try=> (spud /as/les/top)
373+ > (spud /as/les/top)
374 "/as/les/top"
374 "/as/les/top"
375
375
376
376
@@ -399,17 +399,17 @@ Source
399Examples
399Examples
400--------
400--------
401
401
402− ~zod/try=> (stab '/as/lek/tor')
402+ > (stab '/as/lek/tor')
403 /as/lek/tor
403 /as/lek/tor
404− ~zod/try=> `(pole ,@ta)`(stab '/as/lek/tor')
404+ > `(pole ,@ta)`(stab '/as/lek/tor')
405 [~.as [~.lek [~.tor ~]]]
405 [~.as [~.lek [~.tor ~]]]
406− ~zod/try=> (stab '~zod/arvo/~2014.10.28..18.48.41..335f/zuse')
406+ > (stab '~zod/arvo/~2014.10.28..18.48.41..335f/zuse')
407 ~zod/arvo/~2014.10.28..18.48.41..335f/zuse
407 ~zod/arvo/~2014.10.28..18.48.41..335f/zuse
408− ~zod/try=> `(pole ,@ta)`(stab '~zod/arvo/~2014.10.28..18.48.41..335f/zuse')
408+ > `(pole ,@ta)`(stab '~zod/arvo/~2014.10.28..18.48.41..335f/zuse')
409 [~.~zod [~.arvo [~.~2014.10.28..18.48.41..335f [~.zuse ~]]]]
409 [~.~zod [~.arvo [~.~2014.10.28..18.48.41..335f [~.zuse ~]]]]
410− ~zod/try=> (stab '/a/~pillyt/pals/1')
410+ > (stab '/a/~pillyt/pals/1')
411 /a/~pillyt/pals/1
411 /a/~pillyt/pals/1
412− ~zod/try=> `(pole ,@ta)`(stab '/a/~pillyt/pals/1')
412+ > `(pole ,@ta)`(stab '/a/~pillyt/pals/1')
413 [~.a [~.~pillyt [~.pals [~.1 ~]]]]
413 [~.a [~.~pillyt [~.pals [~.1 ~]]]]
414
414
415
415
docs/system/hoon/library/4n.md+39−39
@@ -33,15 +33,15 @@ Source
33Examples
33Examples
34--------
34--------
35
35
36− ~zod/try=> (mack [[1 2 3] [0 1]])
36+ > (mack [[1 2 3] [0 1]])
37 [~ [1 2 3]]
37 [~ [1 2 3]]
38− ~zod/try=> (mack [41 4 0 1])
38+ > (mack [41 4 0 1])
39 [~ 42]
39 [~ 42]
40− ~zod/try=> (mack [4 0 4])
40+ > (mack [4 0 4])
41 ~
41 ~
42− ~zod/try=> (mack [[[0 2] [1 3]] 4 4 4 4 0 5])
42+ > (mack [[[0 2] [1 3]] 4 4 4 4 0 5])
43 [~ 6]
43 [~ 6]
44− ~zod/try=> ;;((unit @tas) (mack [[1 %yes %no] 6 [0 2] [0 6] 0 7]))
44+ > ;;((unit @tas) (mack [[1 %yes %no] 6 [0 2] [0 6] 0 7]))
45 [~ %no]
45 [~ %no]
46
46
47
47
@@ -154,21 +154,21 @@ Source
154Examples
154Examples
155--------
155--------
156
156
157− ~zod/try=> (mink [20 [4 0 1]] $~)
157+ > (mink [20 [4 0 1]] $~)
158 [%0 p=21]
158 [%0 p=21]
159− ~zod/try=> (mink [[90 5 3] [0 3]] $~)
159+ > (mink [[90 5 3] [0 3]] $~)
160 [%0 p=[5 3]]
160 [%0 p=[5 3]]
161− ~zod/try=> (mink 20^[4 0 1] $~)
161+ > (mink 20^[4 0 1] $~)
162 [%0 p=21]
162 [%0 p=21]
163− ~zod/try=> (mink [90 5 3]^[0 3] $~)
163+ > (mink [90 5 3]^[0 3] $~)
164 [%0 p=[5 3]]
164 [%0 p=[5 3]]
165− ~zod/try=> (mink [0]^[11 1 20] $~)
165+ > (mink [0]^[11 1 20] $~)
166 [%1 p=~[20]]
166 [%1 p=~[20]]
167− ~zod/try=> (mink [0]^[11 1 20] |=(a=* `[40 a]))
167+ > (mink [0]^[11 1 20] |=(a=* `[40 a]))
168 [%0 p=[40 20]]
168 [%0 p=[40 20]]
169− ~zod/try=> (mink [5]^[0 2] $~)
169+ > (mink [5]^[0 2] $~)
170 [%2 p=~]
170 [%2 p=~]
171− ~zod/try=> (mink [5]^[10 yelp/[0 1] 0 0] $~)
171+ > (mink [5]^[10 yelp/[0 1] 0 0] $~)
172 [%2 p=~[[~.yelp 5]]]
172 [%2 p=~[[~.yelp 5]]]
173
173
174
174
@@ -208,19 +208,19 @@ Source
208Examples
208Examples
209--------
209--------
210
210
211− ~zod/try=> (mock [5 4 0 1] ,~)
211+ > (mock [5 4 0 1] ,~)
212 [%0 p=6]
212 [%0 p=6]
213− ~zod/try=> (mock [~ 11 1 0] |=(* `999))
213+ > (mock [~ 11 1 0] |=(* `999))
214 [%0 p=999]
214 [%0 p=999]
215− ~zod/try=> (mock [~ 0 1.337] ,~)
215+ > (mock [~ 0 1.337] ,~)
216 [%2 p=~]
216 [%2 p=~]
217− ~zod/try=> (mock [~ 11 1 1.337] ,~)
217+ > (mock [~ 11 1 1.337] ,~)
218 [%1 p=~[1.337]]
218 [%1 p=~[1.337]]
219− ~zod/try=> (mock [[[4 4 4 4 0 3] 10] 11 9 2 0 1] |=(* `[+<]))
219+ > (mock [[[4 4 4 4 0 3] 10] 11 9 2 0 1] |=(* `[+<]))
220 [%0 p=14]
220 [%0 p=14]
221− ~zod/try=> (mock [[[4 4 4 4 0 3] 10] 11 9 2 0 1] |=(* `[<+<>]))
221+ > (mock [[[4 4 4 4 0 3] 10] 11 9 2 0 1] |=(* `[<+<>]))
222 [%0 p=[49 52 0]]
222 [%0 p=[49 52 0]]
223− ~zod/try=> ;;(tape +:(mock [[[4 4 4 4 0 3] 10] 11 9 2 0 1] |=(* `[<+<>])))
223+ > ;;(tape +:(mock [[[4 4 4 4 0 3] 10] 11 9 2 0 1] |=(* `[<+<>])))
224 "14"
224 "14"
225
225
226
226
@@ -261,23 +261,23 @@ Source
261Examples
261Examples
262--------
262--------
263
263
264− ~zod/try=> (mong [|=(@ 20) ~] ,~)
264+ > (mong [|=(@ 20) ~] ,~)
265 [%0 p=20]
265 [%0 p=20]
266− ~zod/try=> (mong [|=(@ !!) ~] ,~)
266+ > (mong [|=(@ !!) ~] ,~)
267 [%2 p=~]
267 [%2 p=~]
268− ~zod/try=> (mong [|=(a/@ (add 20 a)) ~] ,~)
268+ > (mong [|=(a/@ (add 20 a)) ~] ,~)
269 [%0 p=20]
269 [%0 p=20]
270− ~zod/try=> (mong [|=(a/[@ @] (add 20 -.a)) ~] ,~)
270+ > (mong [|=(a/[@ @] (add 20 -.a)) ~] ,~)
271 [%2 p=~]
271 [%2 p=~]
272− ~zod/try=> (mong [|=(a/[@ @] (add 20 -.a)) [4 6]] ,~)
272+ > (mong [|=(a/[@ @] (add 20 -.a)) [4 6]] ,~)
273 [%0 p=24]
273 [%0 p=24]
274− ~zod/try=> (mong [|=(a/@ .^(a)) ~] ,~)
274+ > (mong [|=(a/@ .^(a)) ~] ,~)
275 [%1 p=~[0]]
275 [%1 p=~[0]]
276− ~zod/try=> (mong [|=(a/@ .^(a)) ~] ,[~ %42])
276+ > (mong [|=(a/@ .^(a)) ~] ,[~ %42])
277 [%0 p=42]
277 [%0 p=42]
278− ~zod/try=> (mong [|=(a/@ .^(a)) ~] |=(a/* [~ a 6]))
278+ > (mong [|=(a/@ .^(a)) ~] |=(a/* [~ a 6]))
279 [%0 p=[0 6]]
279 [%0 p=[0 6]]
280− ~zod/try=> (mong [|=(a/@ .^(a)) 8] |=(a/* [~ a 6]))
280+ > (mong [|=(a/@ .^(a)) 8] |=(a/* [~ a 6]))
281 [%0 p=[8 6]]
281 [%0 p=[8 6]]
282
282
283
283
@@ -342,15 +342,15 @@ Source
342Examples
342Examples
343--------
343--------
344
344
345− ~zod/try=> (mook [%0 5 4 5 1])
345+ > (mook [%0 5 4 5 1])
346 [%0 p=[5 4 5 1]]
346 [%0 p=[5 4 5 1]]
347− ~zod/try=> (mook [%2 ~[[%hunk %rose ["<" "," ">"] ~[[%leaf "err"]]]]])
347+ > (mook [%2 ~[[%hunk %rose ["<" "," ">"] ~[[%leaf "err"]]]]])
348 [%2 p=~[[%rose p=[p="<" q="," r=">"] q=[i=[%leaf p="err"] t=~]]]]
348 [%2 p=~[[%rose p=[p="<" q="," r=">"] q=[i=[%leaf p="err"] t=~]]]]
349− ~zod/try=> (mook [%2 ~[[%malformed %elem] [%lose 'do print']]])
349+ > (mook [%2 ~[[%malformed %elem] [%lose 'do print']]])
350 [%2 p=~[[%leaf p="do print"]]]
350 [%2 p=~[[%leaf p="do print"]]]
351− ~zod/try=> (mook [%2 ~[[%mean |.(>(add 5 6)<)]]])
351+ > (mook [%2 ~[[%mean |.(>(add 5 6)<)]]])
352 [%2 p=~[[%leaf p="11"]]]
352 [%2 p=~[[%leaf p="11"]]]
353− ~zod/try=> (mook [%2 ~[[%spot /b/repl [1 1]^[1 2]] [%mean |.(!!)]]])
353+ > (mook [%2 ~[[%spot /b/repl [1 1]^[1 2]] [%mean |.(!!)]]])
354 [%2 p=~[[%leaf p="/b/repl/:<[1 1].[1 2]>"] [%leaf p="####"]]]
354 [%2 p=~[[%leaf p="/b/repl/:<[1 1].[1 2]>"] [%leaf p="####"]]]
355
355
356
356
@@ -390,11 +390,11 @@ Source
390Examples
390Examples
391--------
391--------
392
392
393− ~zod/try=> (mule |.(leaf/"hello"))
393+ > (mule |.(leaf/"hello"))
394 [%.y p=[%leaf "hello"]]
394 [%.y p=[%leaf "hello"]]
395− ~zod/try=> (mule |.(!!))
395+ > (mule |.(!!))
396 [%.n p=~]
396 [%.n p=~]
397− ~zod/try=> (mule |.(.^(a//=pals/1)))
397+ > (mule |.(.^(a//=pals/1)))
398 [ %.n
398 [ %.n
399 p
399 p
400 ~[
400 ~[
@@ -445,9 +445,9 @@ Source
445Examples
445Examples
446--------
446--------
447
447
448− ~zod/try=> (mute |.(leaf/"hello"))
448+ > (mute |.(leaf/"hello"))
449 [%.y p=[1.717.658.988 104 101 108 108 111 0]]
449 [%.y p=[1.717.658.988 104 101 108 108 111 0]]
450− ~zod/try=> (mute |.(!!))
450+ > (mute |.(!!))
451 [%.n p=~]
451 [%.n p=~]
452
452
453
453
docs/system/hoon/library/4o.md+60−60
@@ -11,7 +11,7 @@ Source
11Examples
11Examples
12--------
12--------
13
13
14− ~zod/try=> *abel
14+ > *abel
15 %void
15 %void
16
16
17
17
@@ -35,7 +35,7 @@ Examples
35
35
36See also: [`++base`](), [aura reference]()
36See also: [`++base`](), [aura reference]()
37
37
38− ~zod/try=> `aura`%ux
38+ > `aura`%ux
39 ~.ux
39 ~.ux
40
40
41
41
@@ -57,13 +57,13 @@ Source
57Examples
57Examples
58--------
58--------
59
59
60− ~zod/try=> *axis
60+ > *axis
61 0
61 0
62
62
63− ~zod/try=> :: 0 is not actually a valid axis
63+ > :: 0 is not actually a valid axis
64− ~zod/try=> [[4 5] 6 7]
64+ > [[4 5] 6 7]
65 [[4 5] 6 7]
65 [[4 5] 6 7]
66− ~zod/try=> `axis`0b110
66+ > `axis`0b110
67 6
67 6
68
68
69
69
@@ -84,15 +84,15 @@ Source
84Examples
84Examples
85--------
85--------
86
86
87− ~zod/try=> *base
87+ > *base
88 %null
88 %null
89
89
90− ~zod/try=> (ream '=|(^ !!)')
90+ > (ream '=|(^ !!)')
91 [%tsbr p=[%axil p=%cell] q=[%zpzp ~]]
91 [%tsbr p=[%axil p=%cell] q=[%zpzp ~]]
92− ~zod/try=> :: p.p is a ++base
92+ > :: p.p is a ++base
93− ~zod/try=> (ream '=|(@t !!)')
93+ > (ream '=|(@t !!)')
94 [%tsbr p=[%axil p=[%atom p=~.t]] q=[%zpzp ~]]
94 [%tsbr p=[%axil p=[%atom p=~.t]] q=[%zpzp ~]]
95− ~zod/try=> (ream '=|(? !!)')
95+ > (ream '=|(? !!)')
96 [%tsbr p=[%axil p=%bean] q=[%zpzp ~]]
96 [%tsbr p=[%axil p=%bean] q=[%zpzp ~]]
97
97
98
98
@@ -111,12 +111,12 @@ Source
111Examples
111Examples
112--------
112--------
113
113
114− ~zod/try=> *bean
114+ > *bean
115 %.y
115 %.y
116
116
117− ~zod/try=> `bean`&
117+ > `bean`&
118 %.y
118 %.y
119− ~zod/try=> `bean`|
119+ > `bean`|
120 %.n
120 %.n
121
121
122
122
@@ -136,9 +136,9 @@ Source
136Examples
136Examples
137--------
137--------
138
138
139− ~zod/try=> `beer`'as'
139+ > `beer`'as'
140 29.537
140 29.537
141− ~zod/try=> `beer`[~ (ream 'lan')]
141+ > `beer`[~ (ream 'lan')]
142 [~ p=[%cnzz p=~[%lan]]]
142 [~ p=[%cnzz p=~[%lan]]]
143
143
144
144
@@ -185,10 +185,10 @@ Examples
185
185
186XX there's a ++chum in zuse that's politely causing this not to work
186XX there's a ++chum in zuse that's politely causing this not to work
187
187
188− ~zod/try=> `chum`'hi'
188+ > `chum`'hi'
189 lef=%hi
189 lef=%hi
190
190
191− ~zod/try=> (ream '~/(%lob.314 !!)')
191+ > (ream '~/(%lob.314 !!)')
192 [%sgfs p=[std=%lob kel=314] q=[%zpzp ~]]
192 [%sgfs p=[std=%lob kel=314] q=[%zpzp ~]]
193
193
194
194
@@ -232,16 +232,16 @@ Examples
232
232
233See also: [`++ap`](), [`++ut`]()
233See also: [`++ap`](), [`++ut`]()
234
234
235− ~zod/try=> *foot
235+ > *foot
236 [%yew p={}]
236 [%yew p={}]
237
237
238− ~zod/try=> (ream '|% ++ $ foo --')
238+ > (ream '|% ++ $ foo --')
239 [%brcn p={[p=%$ q=[%ash p=[%cnzz p=~[%foo]]]]}]
239 [%brcn p={[p=%$ q=[%ash p=[%cnzz p=~[%foo]]]]}]
240− ~zod/try=> +<+:(ream '|% ++ $ foo --')
240+ > +<+:(ream '|% ++ $ foo --')
241 t=~[%ash %cnzz %foo]
241 t=~[%ash %cnzz %foo]
242− ~zod/try=> (foot +<+:(ream '|% ++ $ foo --'))
242+ > (foot +<+:(ream '|% ++ $ foo --'))
243 [%ash p=[%cnzz p=~[%foo]]]
243 [%ash p=[%cnzz p=~[%foo]]]
244− ~zod/try=> (foot +<+:(ream '|% +- $ foo --'))
244+ > (foot +<+:(ream '|% +- $ foo --'))
245 [%elm p=[%cnzz p=~[%foo]]]
245 [%elm p=[%cnzz p=~[%foo]]]
246
246
247***
247***
@@ -255,11 +255,11 @@ Reference into subject by name/axis
255
255
256See also: section 2fC-2fD
256See also: section 2fC-2fD
257
257
258− ~zod/try=> (ream '^^$')
258+ > (ream '^^$')
259 [%cnzz p=~[[%.n p=2 q=%$]]]
259 [%cnzz p=~[[%.n p=2 q=%$]]]
260− ~zod/try=> (limb &2:(ream '^^$'))
260+ > (limb &2:(ream '^^$'))
261 [%.n p=2 q=%$]
261 [%.n p=2 q=%$]
262− ~zod/try=> (limb &2:(ream '^^^$'))
262+ > (limb &2:(ream '^^^$'))
263 [%.n p=3 q=%$]
263 [%.n p=3 q=%$]
264
264
265
265
@@ -278,7 +278,7 @@ Source
278Examples
278Examples
279--------
279--------
280
280
281− ~zod/try=> (ream '$%([1 a] [%2 b])')
281+ > (ream '$%([1 a] [%2 b])')
282 [ %bccm
282 [ %bccm
283 p
283 p
284 [ %kelp
284 [ %kelp
@@ -288,9 +288,9 @@ Examples
288 ]
288 ]
289 ]
289 ]
290 ]
290 ]
291− ~zod/try=> &3:(ream '$%([1 a] [%2 b])')
291+ > &3:(ream '$%([1 a] [%2 b])')
292 p=[p=[%leaf p=%ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
292 p=[p=[%leaf p=%ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
293− ~zod/try=> (line &3:(ream '$%([1 a] [%2 b])'))
293+ > (line &3:(ream '$%([1 a] [%2 b])'))
294 [p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
294 [p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
295
295
296
296
@@ -329,9 +329,9 @@ Source
329Examples
329Examples
330--------
330--------
331
331
332− ~zod/try=> !=([+(.) 20 -<])
332+ > !=([+(.) 20 -<])
333 [[4 0 1] [1 20] 0 4]
333 [[4 0 1] [1 20] 0 4]
334− ~zod/try=> (nock !=([+(.) 20]))
334+ > (nock !=([+(.) 20]))
335 [p=[%4 p=[%0 p=1]] q=[%1 p=20]]
335 [p=[%4 p=[%0 p=1]] q=[%1 p=20]]
336
336
337
337
@@ -343,7 +343,7 @@ Examples
343
343
344Used nowhere XX
344Used nowhere XX
345
345
346− ~zod/try=> `noun`~[1 2 3]
346+ > `noun`~[1 2 3]
347 [1 2 3 0]
347 [1 2 3 0]
348
348
349
349
@@ -355,7 +355,7 @@ Used nowhere XX
355
355
356Used nowhere XX
356Used nowhere XX
357
357
358− ~zod/try=> :type; *null
358+ > :type; *null
359 ~
359 ~
360 %~
360 %~
361
361
@@ -381,7 +381,7 @@ Source
381Examples
381Examples
382--------
382--------
383
383
384− ~zod/try=> *port
384+ > *port
385 [p=0 q=[%.y p=%void]]
385 [p=0 q=[%.y p=%void]]
386
386
387
387
@@ -402,18 +402,18 @@ Source
402 ++ span ,@ta :: text-atom (ASCII)
402 ++ span ,@ta :: text-atom (ASCII)
403Examples
403Examples
404--------
404--------
405− ~zod/try=> *span
405+ > *span
406 ~.
406 ~.
407
407
408− ~zod/try=> `@t`~.foo
408+ > `@t`~.foo
409 'foo'
409 'foo'
410− ~zod/try=> `@t`~.foo.bar
410+ > `@t`~.foo.bar
411 'foo.bar'
411 'foo.bar'
412− ~zod/try=> `@t`~.foo~~bar
412+ > `@t`~.foo~~bar
413 'foo~bar'
413 'foo~bar'
414− ~zod/try=> `@t`~.foo~-bar
414+ > `@t`~.foo~-bar
415 'foo_bar'
415 'foo_bar'
416− ~zod/try=> `@t`~.foo-bar
416+ > `@t`~.foo-bar
417 'foo-bar'
417 'foo-bar'
418
418
419
419
@@ -433,7 +433,7 @@ Examples
433
433
434A `++wing` or `++twig`.
434A `++wing` or `++twig`.
435
435
436− ~zod/try=> (ream '=+ a=4 ?-(a @ ~)')
436+ > (ream '=+ a=4 ?-(a @ ~)')
437 [ %tsls
437 [ %tsls
438 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
438 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
439 q
439 q
@@ -442,7 +442,7 @@ A `++wing` or `++twig`.
442 q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
442 q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
443 ]
443 ]
444 ]
444 ]
445− ~zod/try=> (ream '=+ a=4 ?-(4 @ ~)')
445+ > (ream '=+ a=4 ?-(4 @ ~)')
446 [ %tsls
446 [ %tsls
447 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
447 p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
448 q
448 q
@@ -474,21 +474,21 @@ Source
474Examples
474Examples
475--------
475--------
476
476
477− ~zod/try=> a=1
477+ > a=1
478 a=1
478 a=1
479− ~zod/try=> (ream 'a=1')
479+ > (ream 'a=1')
480 [%ktts p=p=%a q=[%dtzy p=%ud q=1]]
480 [%ktts p=p=%a q=[%dtzy p=%ud q=1]]
481− ~zod/try=> [a b]=[1 2 3]
481+ > [a b]=[1 2 3]
482 [a=1 b=[2 3]]
482 [a=1 b=[2 3]]
483− ~zod/try=> (ream '[a b]=[1 2 3]')
483+ > (ream '[a b]=[1 2 3]')
484 [ %ktts
484 [ %ktts
485 p=[%2 p=p=%a q=p=%b]
485 p=[%2 p=p=%a q=p=%b]
486 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
486 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
487 ]
487 ]
488
488
489− ~zod/try=> [a ~]=[1 2 3]
489+ > [a ~]=[1 2 3]
490 [a=1 2 3]
490 [a=1 2 3]
491− ~zod/try=> (ream '[a ~]=[1 2 3]')
491+ > (ream '[a ~]=[1 2 3]')
492 [ %ktts
492 [ %ktts
493 p=[%2 p=p=%a q=[%0 ~]]
493 p=[%2 p=p=%a q=[%0 ~]]
494 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
494 q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
@@ -511,17 +511,17 @@ Source
511Examples
511Examples
512--------
512--------
513
513
514− ~zod/try=> (mink [[20 21] 0 3] ,~)
514+ > (mink [[20 21] 0 3] ,~)
515 [%0 p=21]
515 [%0 p=21]
516
516
517− ~zod/try=> (mink [[0] !=(.^(cy//=main/1))] ,~)
517+ > (mink [[0] !=(.^(cy//=main/1))] ,~)
518 [%1 p=~[[31.075 1.685.027.454 1.852.399.981 49 0]]]
518 [%1 p=~[[31.075 1.685.027.454 1.852.399.981 49 0]]]
519− ~zod/try=> (path [31.075 1.685.027.454 1.852.399.981 49 0])
519+ > (path [31.075 1.685.027.454 1.852.399.981 49 0])
520 /cy/~zod/main/1
520 /cy/~zod/main/1
521
521
522− ~zod/try=> (mink [[1 2] !=(~|(%hi +(.)))] ,~)
522+ > (mink [[1 2] !=(~|(%hi +(.)))] ,~)
523 [%2 p=~[[~.yelp 26.984]]]
523 [%2 p=~[[~.yelp 26.984]]]
524− ~zod/try=> (mink [[1 2] !=(!:(+(.)))] ,~)
524+ > (mink [[1 2] !=(!:(+(.)))] ,~)
525 [ %2
525 [ %2
526 p
526 p
527 ~[
527 ~[
@@ -586,9 +586,9 @@ Source
586Examples
586Examples
587--------
587--------
588
588
589− ~zod/try=> (ream '[1 2 3]')
589+ > (ream '[1 2 3]')
590 [%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
590 [%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
591− ~zod/try=> (tusk +:(ream '[1 2 3]'))
591+ > (tusk +:(ream '[1 2 3]'))
592 ~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]
592 ~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]
593
593
594
594
@@ -622,9 +622,9 @@ Source
622Examples
622Examples
623--------
623--------
624
624
625− ~zod/try=> (scan "/==as=" porc:vast)
625+ > (scan "/==as=" porc:vast)
626 [0 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]]
626 [0 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]]
627− ~zod/try=> `tyke`+:(scan "/==as=" porc:vast)
627+ > `tyke`+:(scan "/==as=" porc:vast)
628 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]
628 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]
629
629
630
630
@@ -679,7 +679,7 @@ Examples
679--------
679--------
680See `%arvo` doc
680See `%arvo` doc
681
681
682− ~zod/try=> `vase`!>(~)
682+ > `vase`!>(~)
683 [p=[%cube p=0 q=[%atom p=%n]] q=0]
683 [p=[%cube p=0 q=[%atom p=%n]] q=0]
684
684
685
685
@@ -713,9 +713,9 @@ term alone is the trivial case of a `++wing`.
713
713
714See also: `++twig`
714See also: `++twig`
715
715
716− ~zod/try=> (ream 'a.+.c')
716+ > (ream 'a.+.c')
717 [%cnzz p=~[%a [%.y p=3] %c]]
717 [%cnzz p=~[%a [%.y p=3] %c]]
718− ~zod/try=> (wing +:(ream 'a.+.c'))
718+ > (wing +:(ream 'a.+.c'))
719 ~[%a [%.y p=3] %c]
719 ~[%a [%.y p=3] %c]
720
720
721
721
docs/system/hoon/library/5f.md+4−4
@@ -16,12 +16,12 @@ Examples
16
16
17See also: `++sail`
17See also: `++sail`
18
18
19− ~zod/try=> *mane
19+ > *mane
20 %$
20 %$
21
21
22− ~zod/try=> `mane`n.g:`manx`;div:namespace;
22+ > `mane`n.g:`manx`;div:namespace;
23 %div
23 %div
24− ~zod/try=> `mane`n.g:`manx`;div_namespace;
24+ > `mane`n.g:`manx`;div_namespace;
25 [%div %namespace]
25 [%div %namespace]
26
26
27
27
@@ -165,7 +165,7 @@ Examples
165See also: `++date`, odor reference
165See also: `++date`, odor reference
166
166
167
167
168− ~zod/try=> `time`~2014.1.1
168+ > `time`~2014.1.1
169 ~2014.1.1
169 ~2014.1.1
170
170
171
171
docs/system/hoon/runes/dt/dtkt.md+7−46
@@ -1,51 +1,12 @@
1−`.^ dotket`
1+# `:wish`, `.^`, "dotket", `{$wish p/twig q/twig}`
2−===========
3
2
4−Nock 11.
3+Nock 11--grab a file from namespace.
5
4
6−Generates nock operator `11`, which--in virtual userspace
5+Generates: nock operator `11`, which--in virtual userspace
7−nock, [`++mock`]()--loads a file from the global namespace, [%clay]().
6+nock, `++mock`--loads a file from the global namespace, %clay.
8
7
8+Regular form: *2-fixed*
9
9
10−Produces
10+Examples:
11−--------
12
11
13−Twig: `[%dtkt p=twig]`
12+XX Something wasn't working for me and didn't want to waste time.
14−
15−Accepts
16−-------
17−
18−`p` is a [`++twig`]().
19−
20−Tall form
21−---------
22−
23− .^ p
24−
25−Wide form
26−---------
27−
28− .^(p)
29−
30−Examples
31−--------
32−
33− ~zod/try=> .^(a//=name=/~zod)
34− 587.481.414.525.965.665.129.596
35− ~zod/try=> (,@t .^(a//=name=/~zod))
36− '|Tianming|'
37−
38−First we use `.^` to load the contents of `a//=name=/~zod` as a noun.
39−Subsequently using `,@t` to cast to a cord, we can see that the contents
40−are `'|Tianming|'`.
41−
42− ~zod/try=> :into %/test 'hello'
43− + /~zod/try/2/test
44− ~zod/try=> .^(cx/%/test)
45− 478.560.413.032
46− ~zod/try=> (,@t .^(cx/%/test))
47− 'hello'
48−
49−This is similar to the previous example, but uses our simple `:into`
50−program to write a cord to a file. Then we follow the above method to
51−confirm its contents.
docs/system/hoon/runes/dt/dtls.md+5−27
@@ -1,38 +1,16 @@
1−`.+ dotlus`
1+# `:bump`, `.+` "dotlus" `{$bump p/twig}`
2−===========
3
2
4Increments an atom.
3Increments an atom.
5
4
6−`.+` is a natural rune that generates nock operator `4`, which
5+Generates: nock operator `4`, which increments atom `p`.
7−increments an operand that's an atom.
8
6
9−Accepts
7+Regular form: *1-fixed*
10−--------
11
8
12−Twig: `[%dtls p=twig]`
9+Irregular form:
13
10
14−Sample
11+`+(6) .+(6)`
15−------
16−
17−`p` is a [`++twig`]()
18−
19−Tall form
20−---------
21−
22− .+ p
23−
24−Wide form
25−---------
26−
27− .+(p)
28−
29−Irregular form
30−--------------
31−
32− +(p)
33
12
34Examples
13Examples
35−--------
36
14
37 ~zod/try=> +(6)
15 ~zod/try=> +(6)
38 7
16 7
docs/system/hoon/runes/dt/dttr.md+4−31
@@ -1,38 +1,11 @@
1−`.* dottar`
1+# `:bump`, `{$bump p/twig}`
2−===========
3
2
4Compute nock.
3Compute nock.
5
4
6−Computes nock expressions. Runs nock formula `q` on
5+Computes: nock expressions. Runs nock formula `q` on
7nock subject `p`.
6nock subject `p`.
8
7
9−`.*` is a natural rune that calculates the nock of subject `p` and
8+Examples:
10−formula `q`. `.*` makes it possible to compute nock formulas in user
11−space.
12−
13−Produces
14−--------
15−
16−Twig: `[%dttr p=twig q=twig]`
17−
18−Accepts
19−-------
20−
21−`p` is a [twig](). `q` is a [twig]().
22−
23−Tall form
24−---------
25−
26− .* p
27− q
28−
29−Wide form
30−---------
31−
32− .*(p q)
33−
34−Examples
35−--------
36
9
37 ~zod/try=> .*([20 30] [0 2])
10 ~zod/try=> .*([20 30] [0 2])
38 20
11 20
@@ -47,4 +20,4 @@ Examples
47 ~zod/try=> .*(~ [5 1^5 [4 1^3]])
20 ~zod/try=> .*(~ [5 1^5 [4 1^3]])
48 1
21 1
49
22
50−See the [nock tutorial]() for further discussion of Nock.
23+See the nock tutorial for further discussion of Nock.
docs/system/hoon/runes/dt/dtts.md+6−32
@@ -1,38 +1,12 @@
1−`.= dottis`
1+# `:same`, `.=`, "dottis", `{$same p/twig q/twig}`
2−===========
3
2
4Test equality.
3Test equality.
5
4
6−Nock operator 5: tests two nouns `p` and `q` for equality, producing a boolean.
5+Generates: Nock operator 5. Tests two nouns `p` and `q` for equality, producing a boolean.
7
6
8−Produces
7+Regular form: *2-fixed*
9−--------
10
8
11−Twig: `[%dtts p=twig q=twig]`
12−
13−Accepts
14−-------
15−
16−`p` is a [`++twig`](). `q` is a twig.
17−
18−Tall form
19−---------
20−
21− .= p
22− q
23−
24−Wide form
25−---------
26−
27− .=(p q)
28−
29−Irregular form
30−--------------
31−
32− =(p q)
33−
34−Examples
9+Examples:
35−--------
36
10
37 ~zod/try=> =(0 0)
11 ~zod/try=> =(0 0)
38 %.y
12 %.y
@@ -55,7 +29,7 @@ of each `p` and `q`. In the first case of this example the tape `"a"` is
55actually the list `[97 0]` since the ASCII code for `'a'` is 97. The
29actually the list `[97 0]` since the ASCII code for `'a'` is 97. The
56following cases serve to show similar implicit down-casts.
30following cases serve to show similar implicit down-casts.
57
31
58− /~zod/try=> =isa |= a=@t
32+ /~zod/try=> =isa |= a/@t
59 ?: =(a 'a')
33 ?: =(a 'a')
60 'yes a'
34 'yes a'
61 'not a'
35 'not a'
@@ -65,7 +39,7 @@ following cases serve to show similar implicit down-casts.
65 /~zod/try=> (isa 'a')
39 /~zod/try=> (isa 'a')
66 'yes a'
40 'yes a'
67
41
68−In common practice `.=` is often used inside of [`?`]() runes, where
42+In common practice `.=` is often used inside of `?` runes, where
69switching on equality is needed. Here we construct a simple function to test
43switching on equality is needed. Here we construct a simple function to test
70if our argument is equal to `'a'` and produce either `'yes a'` or
44if our argument is equal to `'a'` and produce either `'yes a'` or
71`'not a'` accordingly.
45`'not a'` accordingly.
docs/system/hoon/runes/dt/dtwt.md+4−24
@@ -1,33 +1,13 @@
1−`.? dotwut`
1+# `:deep`, `.?`, "dotwut", `{$deep p/twig}`
2−===========
3
2
4Test if noun is cell or atom.
3Test if noun is cell or atom.
5
4
6−Nock operator 3: tests whether a noun is a cell or an
5+Generates: Nock operator 3. Tests whether a noun is a cell or an
7atom, producing true if it is the former and false if the latter.
6atom, producing true if it is the former and false if the latter.
8
7
9−Produces
8+Regular form: *1-fixed*
10−--------
11
9
12−Twig: `[%dtwt p=twig]`
13−
14−Accepts
15−-------
16−
17−`p` is a [`++twig`]().
18−
19−Tall form
20−---------
21−
22− .? p
23−
24−Wide form
25−---------
26−
27− .?(p)
28−
29−Examples
10+Examples:
30−--------
31
11
32 ~zod/try=> .?(~)
12 ~zod/try=> .?(~)
33 %.n
13 %.n
docs/system/hoon/runes/dt/dtzy.mddeleted−47
@@ -1,47 +0,0 @@
1−`dotzay`
2−========
3−
4−Odored atom.
5−
6−`dotzay` is a natural rune that produces a non-cubed atomic constant of
7−odor `p` and value `q`. `dotzay` is never used explicitly, but always
8−implicitly to give odors to atoms.
9−
10−Produces
11−--------
12−
13−Twig: `[%dtzy p=term q=@]`
14−
15−Sample
16−------
17−
18−`p` is a [`++term`](). `q` is an [atom]().
19−
20−Tall form
21−---------
22−
23−None
24−
25−Wide form
26−---------
27−
28−None
29−
30−Irregular form
31−--------------
32−
33−None
34−
35−Examples
36−--------
37−
38− ~zod/try=> (ream '12')
39− [%dtzy p=%ud q=12]
40− ~zod/try=> (ream '&')
41− [%dtzy p=%f q=0]
42− ~zod/try=> (ream '~.sam')
43− [%dtzy p=%ta q=7.168.371]
44−
45−Here we use [`++ream`]() to unpack how values are parsed. Passing what
46−what would appear to be constants reveals that they are in fact parsed
47−into an odor [`++term`] and their numeric atom representation.
docs/system/hoon/runes/dt/dtzz.mddeleted−47
@@ -1,47 +0,0 @@
1−`dotzaz`
2−========
3−
4−Cube.
5−
6−`dotzaz` is a natural rune that produces a cubed noun constant of value
7−`q` and odor `p`, if `q` is an atom. A cube is an atom whose type
8−contains only itself.
9−
10−Produces
11−--------
12−
13−Twig: `[%dtzz p=term q=*]`
14−
15−Sample
16−------
17−
18−`p` is a [`++term`](). `q` is an [noun]().
19−
20−Tall form
21−---------
22−
23−None
24−
25−Wide form
26−---------
27−
28−None
29−
30−Irregular form
31−--------------
32−
33−None
34−
35−Examples
36−--------
37−
38− ~zod/try=> (ream '%12')
39− [%dtzz p=%ud q=12]
40− ~zod/try=> (ream '%&')
41− [%dtzz p=%f q=0]
42− ~zod/try=> (ream '%sam')
43− [%dtzz p=%tas q=7.168.371]
44−
45−Here we use [`++ream`]() to unpack how values are parsed. Prefixing a
46−value with a `%` implicitly turns it into a `%cube` with the following
47−value: an odored noun.