urbit/pkg/arvo/ted/build-cast.hoon

14 lines
330 B
Plaintext
Raw Normal View History

/- spider
/+ strandio
=, strand=strand:spider
^- thread:spider
|= arg=vase
=/ m (strand ,vase)
^- form:m
=+ !<([~ pax=path] arg)
2020-12-06 12:03:12 +03:00
?~ bem=(de-beam pax)
(strand-fail:strand %path-not-beam >pax< ~)
=/ =mars:clay [i i.t]:?>(?=([@ @ ~] s.u.bem) s.u.bem)
;< =vase bind:m (build-cast:strandio -.u.bem mars)
(pure:m vase)