on master help sign in
dojo
3ef7217drbeefsupreme
arvo/clay/data-types.md+11−5
@@ -98,15 +98,21 @@ and `%kids`. More may be created by simply referencing them. `desk`s have
98independent histories and states, and they may be
98independent histories and states, and they may be
99[merged](@/docs/arvo/clay/using.md#merging) into each other.
99[merged](@/docs/arvo/clay/using.md#merging) into each other.
100
100
101−### `++dojo`, domestic desk state
101+### `$dojo`, domestic desk state
102
102
103```hoon
103```hoon
104++$ dojo
105+ $: qyx=cult :: subscribers
104− ++ dojo ,[p=cult q=dome] :: domestic desk state
106+ dom=dome :: desk state
107+ per=regs :: read perms per path
108+ pew=regs :: write perms per path
109+ ==
105```
110```
106
111
107−This is the all the data that is specific to a particular desk on a
112+This is the all the data that is specific to a particular `desk` on a domestic
108−domestic ship. `p` is the set of subscribers to this desk and `q` is the
113+ship. `qyx` is the set of subscribers to this `desk`, and `dom` is the data in
109−data in the desk.
114+the `desk`. `regs` are `(map path rule)`, and so `per` is a `map` of read
115+permissions by `path` and `pew` is a map of write permissions by `path`.
110
116
111#### `++cult`, subscriptions
117#### `++cult`, subscriptions
112
118