shrub/main/bin/hi.hoon

24 lines
452 B
Plaintext
Raw Normal View History

2013-09-29 00:21:18 +04:00
!:
:: /=main=/toy/hi/hoon
::
|= *
|= [bud=@p ebb=$|(~ [tex=tape ~])]
^- bowl
:- :~ [%sq bud %hi /request ?~(ebb '' (rap 3 tex.ebb))]
==
2013-09-29 00:21:18 +04:00
:- ~
:- ^- (list slip)
:~ [/request [%ow ~]]
[/prompt [%up %none "waiting for {(scow %p bud)}" ~]]
2013-09-29 00:21:18 +04:00
==
|= [now=@da pax=path nut=note]
?> =(/request pax)
?> ?=(%ow -.nut)
:- ?: =(%good p.nut)
~
2013-09-29 00:21:18 +04:00
:_ ~
:- %ha
:- %leaf
"hi: {(scow %p bud)} rejected a message"
2013-09-29 00:21:18 +04:00
~