on master help sign in
wide-form for /=, /:, and //
63fb08fTed Blackman
docs/arvo/internals/ford/runes.md+5−1
@@ -66,7 +66,7 @@ produces: `[%a %b]`
66`// <rel-path>` parses `rel-path` as a hoon twig, and then adds the resulting
66`// <rel-path>` parses `rel-path` as a hoon twig, and then adds the resulting
67twig to the subject. Note that the result type of this rune is not a horn, but
67twig to the subject. Note that the result type of this rune is not a horn, but
68just a hoon twig, so its result can't be used as an argument to other runes
68just a hoon twig, so its result can't be used as an argument to other runes
69−that expect a horn.
69+that expect a horn. There is no wide-form for this rune.
70
70
71Example:
71Example:
72```
72```
@@ -102,6 +102,8 @@ Example:
102```
102```
103produces: `[0 1]`
103produces: `[0 1]`
104
104
105+In wide-form, `/=` uses `=` as a delimiter: `/=foo=/~[a=0 b=1]`
106+
105### `/:` evaluate at path, and `/<mark>/` render mark at current path
107### `/:` evaluate at path, and `/<mark>/` render mark at current path
106
108
107`/:` takes a path and a horn, and evaluates the horn with the current path set to the supplied path.
109`/:` takes a path and a horn, and evaluates the horn with the current path set to the supplied path.
@@ -137,6 +139,8 @@ produces:
137This result includes the MIME type ('text/html'), the content length in bytes,
139This result includes the MIME type ('text/html'), the content length in bytes,
138and the HTML itself.
140and the HTML itself.
139
141
142+In wide-form, `/:` uses `:` as a delimiter: `/=page=/:/path/to/html/file:/mime/`
143+
140### `/&` pass through a series of marks
144### `/&` pass through a series of marks
141
145
142`/&` passes a horn through multiple marks, right-to-left. It has both a
146`/&` passes a horn through multiple marks, right-to-left. It has both a