2020-08-20 02:26:21 +03:00
|
|
|
:: link-view: no longer in use
|
|
|
|
/+ default-agent, verb, dbug
|
2020-04-13 22:15:51 +03:00
|
|
|
~% %link-view-top ..is ~
|
2020-01-22 02:43:24 +03:00
|
|
|
|%
|
2020-05-29 19:57:51 +03:00
|
|
|
+$ versioned-state
|
2020-08-20 02:26:21 +03:00
|
|
|
$% [%0 ~]
|
|
|
|
[%1 ~]
|
|
|
|
[%2 ~]
|
2020-05-29 19:57:51 +03:00
|
|
|
==
|
|
|
|
::
|
2020-01-22 02:43:24 +03:00
|
|
|
+$ card card:agent:gall
|
|
|
|
--
|
|
|
|
::
|
2020-08-20 02:26:21 +03:00
|
|
|
=| [%2 ~]
|
2020-01-22 02:43:24 +03:00
|
|
|
=* state -
|
|
|
|
::
|
|
|
|
%+ verb |
|
2020-03-01 03:48:54 +03:00
|
|
|
%- agent:dbug
|
2020-01-22 02:43:24 +03:00
|
|
|
^- agent:gall
|
|
|
|
|_ =bowl:gall
|
2020-08-20 02:26:21 +03:00
|
|
|
+* this .
|
|
|
|
def ~(. (default-agent this %|) bowl)
|
|
|
|
::
|
|
|
|
++ on-init [~ this]
|
|
|
|
++ on-save !>(state)
|
|
|
|
++ on-load
|
|
|
|
|= old-vase=vase
|
|
|
|
^- (quip card _this)
|
|
|
|
:_ this(state [%2 ~])
|
|
|
|
[%pass /connect %arvo %e %disconnect [~ /'~link']]~
|
|
|
|
::
|
|
|
|
++ on-poke on-poke:def
|
|
|
|
++ on-watch on-watch:def
|
|
|
|
++ on-agent on-agent:def
|
|
|
|
++ on-arvo on-arvo:def
|
|
|
|
++ on-peek on-peek:def
|
|
|
|
++ on-leave on-leave:def
|
|
|
|
++ on-fail on-fail:def
|
2020-01-22 02:43:24 +03:00
|
|
|
--
|