on master help sign in
more realistic paths in examples
a646106Ted Blackman
docs/arvo/internals/ford/runes.md+4−4
@@ -136,11 +136,11 @@ Here's a slightly more complex example with runes that use the filesystem:
136```
136```
137/= file-length
137/= file-length
138 /; |=(a/@t (lent (crip a)))
138 /; |=(a/@t (lent (crip a)))
139− /: /path/to/hoon/file /hoon/
139+ /: /%/path/to/hoon/file /hoon/
140::
140::
141file-length
141file-length
142```
142```
143−produces the number of bytes in the file "/path/to/hoon/file."
143+produces the number of bytes in the file "/%/path/to/hoon/file."
144
144
145### `/,` switch by path
145### `/,` switch by path
146
146
@@ -151,11 +151,11 @@ Takes a sequence of pairs of (path, horn) terminated by a `==`.
151Example:
151Example:
152```
152```
153/= just-right
153/= just-right
154− /: /right-path :: set path to /right-path
154+ /: /===/right-path :: set path to /%/right-path
155 /,
155 /,
156 /wrong-path /~ ~
156 /wrong-path /~ ~
157 /another-wrong-path /~ ~
157 /another-wrong-path /~ ~
158− /right-path /~ %evaluate-me :: only evaluate this horn
158+ /right-path /~ %evaluate-me :: only evaluate this horn
159 ==
159 ==
160::
160::
161`@t`just-right
161`@t`just-right