@@ -216,12 +216,15 @@ Here's a new agent to demonstrate the concepts we've discussed here:
216216|_ =bowl:gall
217217+* this .
218218 def ~(. (default-agent this %.n) bowl)
219+::
219220++ on-init
220221 ^- (quip card _this)
221222 `this(val 42)
223+::
222224++ on-save
223225 ^- vase
224226 !>(state)
227+::
225228++ on-load
226229 |= old-state=vase
227230 ^- (quip card _this)
@@ -229,6 +232,7 @@ Here's a new agent to demonstrate the concepts we've discussed here:
229232 ?- -.old
230233 %0 `this(state old)
231234 ==
235+::
232236++ on-poke on-poke:def
233237++ on-watch on-watch:def
234238++ on-leave on-leave:def
@@ -354,12 +358,15 @@ again save in `/app/lifecycle.hoon` and `|commit %base`:
354358|_ =bowl:gall
355359+* this .
356360 def ~(. (default-agent this %.n) bowl)
361+::
357362++ on-init
358363 ^- (quip card _this)
359364 `this(val [27 32])
365+::
360366++ on-save
361367 ^- vase
362368 !>(state)
369+::
363370++ on-load
364371 |= old-state=vase
365372 ^- (quip card _this)
@@ -368,6 +375,7 @@ again save in `/app/lifecycle.hoon` and `|commit %base`:
368375 %1 `this(state old)
369376 %0 `this(state 1+[val.old val.old])
370377 ==
378+::
371379++ on-poke on-poke:def
372380++ on-watch on-watch:def
373381++ on-leave on-leave:def