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