mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 02:22:12 +03:00
15 lines
339 B
Plaintext
15 lines
339 B
Plaintext
/- spider
|
|
/+ strand, 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< ~)
|
|
;< vax=(unit vase) bind:m (build-file:strandio u.bem)
|
|
?^ vax
|
|
(pure:m u.vax)
|
|
(strand-fail:strand %build-file >u.bem< ~)
|