mall: add lib/skeleton

This commit is contained in:
Philip Monk 2019-11-08 13:18:27 -08:00
parent 43e02c25e4
commit 4ef1278cfa
No known key found for this signature in database
GPG Key ID: B66E1F02604E44EC

View File

@ -0,0 +1,51 @@
:: Similar to default-agent except crashes everywhere
^- agent:mall
|_ bowl:mall
++ on-init
^- (quip card:agent:mall agent:mall)
!!
::
++ on-save
^- vase
!!
::
++ on-load
|~ old-state=vase
^- (quip card:agent:mall agent:mall)
!!
::
++ on-poke
|~ in-poke-data=cage
^- (quip card:agent:mall agent:mall)
!!
::
++ on-watch
|~ path
^- (quip card:agent:mall agent:mall)
!!
::
++ on-leave
|~ path
^- (quip card:agent:mall agent:mall)
!!
::
++ on-peek
|~ path
^- (unit (unit cage))
!!
::
++ on-agent
|~ [wire gift:agent:mall]
^- (quip card:agent:mall agent:mall)
!!
::
++ on-arvo
|~ [wire =sign-arvo]
^- (quip card:agent:mall agent:mall)
!!
::
++ on-fail
|~ [term tang]
^- (quip card:agent:mall agent:mall)
!!
--