2020-09-01 04:54:39 +03:00
|
|
|
:: clock [landscape]:
|
|
|
|
::
|
|
|
|
:: deprecated, should be removed
|
2020-04-29 22:01:31 +03:00
|
|
|
::
|
2020-04-01 23:26:07 +03:00
|
|
|
/+ *server, default-agent, verb, dbug
|
2019-11-09 10:31:11 +03:00
|
|
|
=, format
|
|
|
|
::
|
2020-02-06 05:08:22 +03:00
|
|
|
|%
|
|
|
|
::
|
|
|
|
+$ card card:agent:gall
|
|
|
|
+$ versioned-state
|
|
|
|
$% state-zero
|
|
|
|
==
|
|
|
|
+$ state-zero [%0 data=json]
|
|
|
|
--
|
2019-11-27 01:56:20 +03:00
|
|
|
%+ verb |
|
2020-04-01 23:26:07 +03:00
|
|
|
%- agent:dbug
|
2020-02-06 05:08:22 +03:00
|
|
|
=| state-zero
|
|
|
|
=* state -
|
2019-11-19 07:36:21 +03:00
|
|
|
^- agent:gall
|
|
|
|
|_ =bowl:gall
|
2019-11-09 23:22:59 +03:00
|
|
|
+* this .
|
|
|
|
def ~(. (default-agent this %|) bowl)
|
|
|
|
::
|
2020-04-29 22:01:31 +03:00
|
|
|
++ on-init on-init:def
|
2020-04-02 00:13:57 +03:00
|
|
|
++ on-save !>(%3)
|
2019-12-14 03:32:13 +03:00
|
|
|
++ on-load
|
|
|
|
|= old-state=vase
|
2020-04-02 00:13:57 +03:00
|
|
|
^- (quip card _this)
|
2019-11-09 23:22:59 +03:00
|
|
|
:_ this
|
2020-04-29 22:01:31 +03:00
|
|
|
[%pass / %arvo %e %disconnect [~ /'~clock']]~
|
2019-11-09 10:31:11 +03:00
|
|
|
::
|
2020-04-29 22:01:31 +03:00
|
|
|
++ on-poke on-poke:def
|
|
|
|
++ on-watch on-watch:def
|
2019-11-09 10:31:11 +03:00
|
|
|
++ on-leave on-leave:def
|
|
|
|
++ on-peek on-peek:def
|
|
|
|
++ on-agent on-agent:def
|
2020-04-29 22:01:31 +03:00
|
|
|
++ on-arvo on-arvo:def
|
2019-11-09 10:31:11 +03:00
|
|
|
++ on-fail on-fail:def
|
|
|
|
--
|