urbit/main/app/bang/core.hook

22 lines
371 B
Plaintext
Raw Normal View History

2015-01-11 11:00:36 +03:00
:: Bang: send cards to arvo
::
:::: /hook/core/bang/app
::
2015-01-12 04:13:34 +03:00
/+ sh-utils
!:
2015-01-12 04:13:34 +03:00
::::
::
2014-12-12 01:46:17 +03:00
|_ [hide ~]
++ lima |*(a=(pole) ?~(a ~ [i t]=a(+ (..$ +.a))))
2015-01-11 11:00:36 +03:00
++ poke--args
|* [ost=bone @ a=[* (pole)]]
=> .(a ^.(lima a))
:_(+> (turn a |*(b=_i.a [ost %pass / b])))
::
++ pour
2015-01-11 11:00:36 +03:00
%- add-exit
|= [@ * sih=*]
2015-01-11 04:33:01 +03:00
~& bang-resp/(,[term term] [&1 &2]:sih)
2015-01-11 11:00:36 +03:00
`+>.$
--