mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-09-11 13:55:59 +03:00
commit
6c7d2df7b1
@ -74,7 +74,7 @@ For instance, in `/sys/vane/ames.hoon`, we find the definitions
|
|||||||
Thus for Ames, the nested core pattern largely consists of building a list of particular moves and then pulling them back out:
|
Thus for Ames, the nested core pattern largely consists of building a list of particular moves and then pulling them back out:
|
||||||
|
|
||||||
```hoon
|
```hoon
|
||||||
:: if processing succeded, send positive ack packet and exit
|
:: if processing succeeded, send positive ack packet and exit
|
||||||
++ send-ack
|
++ send-ack
|
||||||
|= =bone
|
|= =bone
|
||||||
^+ event-core
|
^+ event-core
|
||||||
@ -121,7 +121,7 @@ Gall uses two nested cores to manage agents: `++mo` handles Arvo-level moves, w
|
|||||||
```hoon
|
```hoon
|
||||||
::
|
::
|
||||||
++ mo-core .
|
++ mo-core .
|
||||||
:: +mo-abed: initialise state with the provided duct
|
:: +mo-abed: initialize state with the provided duct
|
||||||
++ mo-abed |=(hun=duct mo-core(hen hun))
|
++ mo-abed |=(hun=duct mo-core(hen hun))
|
||||||
:: +mo-abet: finalize, reversing moves
|
:: +mo-abet: finalize, reversing moves
|
||||||
++ mo-abet [(flop moves) gall-payload]
|
++ mo-abet [(flop moves) gall-payload]
|
||||||
|
@ -115,7 +115,7 @@ Azimuth](https://developers.urbit.org/guides/core/hoon-school/C-azimuth#the-urbi
|
|||||||
|
|
||||||
While working with Hoon, you'll often want to delete an old fake ship and
|
While working with Hoon, you'll often want to delete an old fake ship and
|
||||||
recreate a fresh one. Rather than having to wait a few minutes for the fresh
|
recreate a fresh one. Rather than having to wait a few minutes for the fresh
|
||||||
ship to be initialised, you can instead create a backup copy of a fake ship.
|
ship to be initialized, you can instead create a backup copy of a fake ship.
|
||||||
That way you can just delete the current copy, replace it with the backup, and
|
That way you can just delete the current copy, replace it with the backup, and
|
||||||
reboot in a matter of seconds.
|
reboot in a matter of seconds.
|
||||||
|
|
||||||
|
@ -780,7 +780,7 @@ to a `fly` is a `++path`, just a list of text `span`.
|
|||||||
|
|
||||||
(Note that `tank` is overdesigned and due for replacement.)
|
(Note that `tank` is overdesigned and due for replacement.)
|
||||||
|
|
||||||
What does a `toon` mean? Either your computation succeded (`[0
|
What does a `toon` mean? Either your computation succeeded (`[0
|
||||||
noun]`, or could not finish because it blocked on one or more
|
noun]`, or could not finish because it blocked on one or more
|
||||||
global paths (`[1 (list path)]`), or it exited with a stack trace
|
global paths (`[1 (list path)]`), or it exited with a stack trace
|
||||||
(`[2 (list tank)]`).
|
(`[2 (list tank)]`).
|
||||||
|
Loading…
Reference in New Issue
Block a user