on 63b60ca help sign in
31 lines 439 B history raw
1---
2navhome: /docs/
3sort: 4
4title: Path
5---
7# Path
9`[%path p=(list (each @ta hoon))]`: path with interpolation.
11### Produces
13A null-terminated list if of the items in `p`, which are either constant
14`@ta` atoms (`knot`), or hoons producing a `knot`.
16### Syntax
18Irregular: `/foo/bar/baz`.
20### Examples
22```
23~zod/dojo> /foo/bar/baz
24/foo/bar/baz
26~zod/dojo> `path`/foo/[`@ta`(cat 3 %moo %bar)]/baz
27/foo/moobar/baz/
29~zod:dojo> /
31```