shrub/pkg/arvo/imp/ph/add.hoon

13 lines
334 B
Plaintext
Raw Normal View History

2019-09-29 07:44:31 +03:00
/- spider
/+ ph-io
=, thread=thread:spider
^- imp:spider
|= =bowl:mall
=/ m (thread ,~)
;< ~ bind:m start-simple:ph-io
;< ~ bind:m (raw-ship:ph-io ~bud ~)
;< ~ bind:m (dojo:ph-io ~bud "[%test-result (add 2 3)]")
;< ~ bind:m (wait-for-output:ph-io ~bud "[%test-result 5]")
;< ~ bind:m end-simple:ph-io
(pure:m ~)