mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
14 lines
339 B
Plaintext
14 lines
339 B
Plaintext
|
/- spider
|
||
|
/+ strandio
|
||
|
=, strand=strand:spider
|
||
|
^- thread:spider
|
||
|
|= arg=vase
|
||
|
=/ m (strand ,vase)
|
||
|
^- form:m
|
||
|
=+ !<([~ pax=path] arg)
|
||
|
?~ bem=(de-beam pax)
|
||
|
(strand-fail:strand %path-not-beam >pax< ~)
|
||
|
=/ =mars:clay [i i.t]:?>(?=([@ @ ~] s.u.bem) s.u.bem)
|
||
|
;< =tube:clay bind:m (build-tube:strandio -.u.bem mars)
|
||
|
(pure:m !>(tube))
|