hi: make a thread so it works in sotot

This commit is contained in:
Philip Monk 2019-11-26 16:14:32 -08:00
parent bf55197baf
commit c7252bce85
No known key found for this signature in database
GPG Key ID: B66E1F02604E44EC

11
pkg/arvo/ted/hi.hoon Normal file
View File

@ -0,0 +1,11 @@
/- spider
/+ strandio
=, strand=strand:spider
^- thread:spider
|= arg=vase
=/ m (strand ,vase)
^- form:m
=+ !<([who=ship mez=$@(~ [=tape ~])] arg)
=/ message ?~(mez '' (crip tape.mez))
;< ~ bind:m (poke:strandio [who %hood] %helm-hi !>(message))
(pure:m !>("hi {<who>} successful"))