on master help sign in
updated dojo responses, typos, added link
c4ed4fcpoprox
learn/hoon/hoon-tutorial/trees-sets-and-maps.md+2−3
@@ -99,14 +99,14 @@ Using `sy`:
99> =c (sy ~[11 22 33 44 55])
99> =c (sy ~[11 22 33 44 55])
100
100
101> c
101> c
102−[n=11 l={} r={22 33 44 55}]
102+[n=11 l={} r={22 55 33 44}]
103
103
104> `(set @)`c
104> `(set @)`c
105{11 22 55 33 44}
105{11 22 55 33 44}
106
106
107> =c `(set @)`c
107> =c `(set @)`c
108```
108```
109−Note that Dojo does not necessarily print elements of a set in the same order they were given. Mathematically speaking, sets are not ordered, so this is alright. There is no difference between two sets with the same elements written in a different order. Try forming `c` with a different ordering and check this.
109+Note that the dojo does not necessarily print elements of a set in the same order they were given. Mathematically speaking, sets are not ordered, so this is alright. There is no difference between two sets with the same elements written in a different order. Try forming `c` with a different ordering and check this.
110
110
111And we can add an item to the set using `put` of `in`:
111And we can add an item to the set using `put` of `in`:
112
112
@@ -320,4 +320,3 @@ You can use `run` of `by` to apply a gate to each value in a map, producing a ma
320There are other map functions in the Hoon standard library that didn't cover here.
320There are other map functions in the Hoon standard library that didn't cover here.
321
321
322### [Next Up: <placeholder>]
322### [Next Up: <placeholder>]
323−