@@ -79,32 +79,32 @@ across the page.
79With one child:
79With one child:
93With three:
93With three:
101With four (the maximum rune fanout):
101With four (the maximum rune fanout):
110It is sometimes acceptable to not backstep -- especially in tuple
110It is sometimes acceptable to not backstep -- especially in tuple
@@ -118,21 +118,21 @@ they can’t self-terminate. They are terminated by a `==` marker.
118The sequence, or its variable part, is indented and vertical:
118The sequence, or its variable part, is indented and vertical:
127Another representation wastes a line, but saves an indent. Use
127Another representation wastes a line, but saves an indent. Use
128this only for very long sequences:
128this only for very long sequences:
138Some variable sequences are sequences of pairs; some of these
138Some variable sequences are sequences of pairs; some of these
@@ -143,29 +143,29 @@ looks better for this particular code.
143Kingside format:
143Kingside format:
146− ?+ x default
146+?+ x default
148− %foobar ?: y
148+ %foobar ?: y
150− (add 2 2)
150+ (add 2 2)
155Queenside format:
155Queenside format:
167− (add 2 2)
167+ (add 2 2)
171The queenside format is more useful when the tails are bigger.
171The queenside format is more useful when the tails are bigger.
@@ -176,13 +176,13 @@ We sometimes end up with multiple terminators on separate lines,
176two or more spaces apart. These lines can be collapsed:
176two or more spaces apart. These lines can be collapsed:
179− ?+ x default
179+?+ x default
182− %foobar ?- y
182+ %foobar ?- y
188## General naming style
188## General naming style
@@ -220,25 +220,25 @@ Hoon suggests “breathing comments.” There should always be an
220empty comment line between a comment and the line **below** it:
220empty comment line between a comment and the line **below** it:
223− :: look, code
223+:: look, code
225− this.is.code
225+this.is.code
226− :: we are going to need more code
226+:: we are going to need more code
228− this.is.more.code
228+this.is.more.code
231Sometimes dense code does need air on both sides. Also
231Sometimes dense code does need air on both sides. Also
232legitimate:
232legitimate:
235− :: look, code
235+:: look, code
237− this.is.code
237+this.is.code
239− :: we are going to need more code
239+:: we are going to need more code
241− this.is.more.code
241+this.is.more.code
244But air on both sides is needed less often than you may think.
244But air on both sides is needed less often than you may think.
@@ -257,15 +257,15 @@ In older code you’ll also see attempts to produce large, visually
257salient geometries as separators, like:
257salient geometries as separators, like:
268− ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
268+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
271Please don’t do this in new code. Normal conventions should be
271Please don’t do this in new code. Normal conventions should be
@@ -300,14 +300,14 @@ then an udon body with paragraphs broken by empty lines, indented
300four spaces, in ASCII mixed case:
300four spaces, in ASCII mixed case:
303− :: $foo: the definition of a foo
303+:: $foo: the definition of a foo
305− :: The source of the word “foo” is lost in history. Some
305+:: The source of the word “foo” is lost in history. Some
306− :: think it comes from the WWII military term “FUBAR,”
306+:: think it comes from the WWII military term “FUBAR,”
307− :: in which “UBAR” stands for “up beyond all retrieval.”
307+:: in which “UBAR” stands for “up beyond all retrieval.”
309− :: Somehow “FUBAR” became “foobar.” The rest is history.
309+:: Somehow “FUBAR” became “foobar.” The rest is history.
313The point is: sometimes we want to see a deep explanation;
313The point is: sometimes we want to see a deep explanation;
@@ -321,9 +321,9 @@ A feature headline is `::`, then two spaces, then a qualified
321location, then `:`, then a freeform string. Like:
321location, then `:`, then a freeform string. Like:
324− :: $foo: a the definition of a foo
324+:: $foo: a the definition of a foo
326− +$ foo [head=@ tail=^]
326++$ foo [head=@ tail=^]
329We find the feature `$foo` relative to the current location and
329We find the feature `$foo` relative to the current location and
@@ -337,9 +337,9 @@ Product comments describe the product of the expression below.
337The headline is a string in parentheses:
337The headline is a string in parentheses:
340− :: (a very strange $foo indeed)
340+:: (a very strange $foo indeed)
342− make:a:strange:foo
342+make:a:strange:foo
345### Flow comments and legends
345### Flow comments and legends
@@ -364,15 +364,15 @@ make it … `[%wtcl if=hoon then=hoon else=hoon]`. Then we
364could write flow comments as follows:
364could write flow comments as follows:
367− ?: :: if, it is winter
367+?: :: if, it is winter
370− :: then, why not rome?
373− :: else, amsterdam is nice in the summer
370+ :: then, why not rome?
373+:: else, amsterdam is nice in the summer
375− visit-holland
375+visit-holland
378The headline of a flow comment uses a **legend**: the name of
378The headline of a flow comment uses a **legend**: the name of
@@ -392,35 +392,35 @@ Sometimes, just for cosmetic reasons, we like to raise the
392comment on the first leg of a rune up above the parent:
392comment on the first leg of a rune up above the parent:
395− :: if, it is winter
395+:: if, it is winter
397− ?: is-winter
397+?: is-winter
398− :: then, why not rome?
398+ :: then, why not rome?
400− visit-italy
400+ visit-italy
401− :: else, amsterdam is nice in the summer
401+:: else, amsterdam is nice in the summer
403− visit-holland
403+visit-holland
406This can make flow comments collide, as in “else, if,” below:
406This can make flow comments collide, as in “else, if,” below:
409− :: if, it is winter
409+:: if, it is winter
411− ?: is-winter
411+?: is-winter
412− :: then, why not rome?
412+ :: then, why not rome?
414− visit-italy
414+ visit-italy
415− :: else, if, sprechen sie deutsch?
415+:: else, if, sprechen sie deutsch?
417− ?: speak-german
417+?: speak-german
418− :: then, maybe berlin?
418+ :: then, maybe berlin?
420− visit-berlin
420+ visit-berlin
421− :: else, everyone in amsterdam speaks english
421+:: else, everyone in amsterdam speaks english
423− visit-holland
423+visit-holland
426#### Flow comments, traces, and interpolation
426#### Flow comments, traces, and interpolation