on master help sign in
gall-guide: agent - clarify ..on-init meaning
commit1fafcf7b81d9c3f066e151496bc951a1060f5dd5 authorTinnus Napbus <admin@tinnus-napbus.xyz> dateSun 5 Dec 2021, 22:38 (5 years ago) parent51eec55
1 file changed+5−6
content/docs/userspace/gall-guide/2-agent.md+5−6
content/docs/userspace/gall-guide/2-agent.md+5−6
@@ -151,12 +151,11 @@ so for example, in the dojo:
151151[~ 50]
152152```
153153
154−The next part has a dot-dot-arm syntax, which means "the parent core of the
155−specified arm". Since we've specified the arm as `on-init`, its parent is our
156−whole agent. In the [transition function](#transition-function) section we
157−mentioned that most arms return a list of effects called `card`s and a new agent
158−core. Since an empty list is `~`, we've created a cell that fits that
159−description.
154+The next part has `..on-init`, which means "the subject of the `on-init` arm".
155+The subject of the `on-init` arm is our whole agent. In the [transition
156+function](#transition-function) section we mentioned that most arms return a
157+list of effects called `card`s and a new agent core. Since an empty list is `~`,
158+we've created a cell that fits that description.
160159
161160Let's examine our agent. In the dojo of a fake ship, mount the `%base` desk with
162161`|mount %base`. On the Unix side, navigate to `/path/to/fake/ship/base`, and save