@@ -144,7 +144,8 @@ produces the number of bytes in the file "/path/to/hoon/file."
144### `/,` switch by path
144### `/,` switch by path
146`/,` is a switch statement, which picks a branch to evaluate based on
146`/,` is a switch statement, which picks a branch to evaluate based on
147−whether the current path matches the path in the switch statement.
147+whether the current path matches the path in the switch statement.
148+Takes a sequence of pairs of (path, horn) terminated by a `==`.
@@ -155,7 +156,29 @@ Example:
155 /another-wrong-path /~ ~
156 /another-wrong-path /~ ~
156 /right-path /~ %evaluate-me :: only evaluate this horn
157 /right-path /~ %evaluate-me :: only evaluate this horn
158`@t`just-right
160`@t`just-right
161produces: `'evaluate-me'`
163produces: `'evaluate-me'`
167+Produce a null-terminated list from a sequence of horns, terminated by a `==`.
184+produces: `[%ames %behn %clay %dill %eyre %ford %gall ~]`.