on master help sign in
Fix #73: undocumented tree addressing
commit678f22d64c21a59987aae1446ee23154f55ca54a author~hoclun-rigsep <jim.amberger@gmail.com> dateSun 12 Feb 2017, 19:59 (10 years ago) parent4466430
1 file changed+10
docs/hoon/twig/limb/limb.md+10
docs/hoon/twig/limb/limb.md+10
@@ -21,10 +21,20 @@ Irregular: `+15` is slot `15`, `[%& 15]`.
2121
2222Irregular: `.` is slot `1`, the whole subject.
2323
24+Irregular: `&4` is slot `30`, the 4th element of a tuple
25+with at least 5 elements.
26+
27+Irregular: `|4` is slot `31`, the elements that follow `&4`.
28+
2429Irregular: `foobar` is `[%| 0 %foobar]`.
2530
2631Irregular: `^^^foobar` is `[%| 3 %foobar]`.
2732
33+Irregular: `+<-` is "take the tail, then take the head of
34+that, then the head of that." `+` and `>` mean "tail" while
35+`-` and `<` mean "head." This limb syntax starts on `+` or `-`
36+and alternates for readability.
37+
2838### Traverse
2939
3040The search traverse takes a name `q` and a *skip count* `p`.