on master help sign in
Apply suggestions from code review

Co-authored-by: tinnus-napbus <77721746+tinnus-napbus@users.noreply.github.com>

commitb5d99a8f03b0cd92e1d26be73bfa0c29e3415764 authorSigilante <57601680+sigilante@users.noreply.github.com> dateWed 23 Feb 2022, 14:50 (5 years ago) parent3c4536e
1 file changed+5−10
content/docs/hoon/reference/irregular.md+5−10
content/docs/hoon/reference/irregular.md+5−10
@@ -10,29 +10,24 @@ aliases = ["docs/reference/hoon-expressions/irregular/"]
1010| Form | Regular Form |
1111| ---- | ------------ |
1212| `_foo` | [`$_`](https://urbit.org/docs/hoon/reference/rune/buc#_-buccab), normalizes to an example |
13−| `[a=foo b=bar c=baz]` | [`$:`](https://urbit.org/docs/hoon/reference/rune/buc#_-buccol), forms a tuple |
1413| `foo=bar` | [`$=`](https://urbit.org/docs/hoon/reference/rune/buc#_-buctis), wraps a face around a value |
15−| `?($foo $bar $baz)` | [`$?`](https://urbit.org/docs/hoon/reference/rune/buc#_-bucwut), forms a type union |
16−| `(fun arg)` | [`%-`](https://urbit.org/docs/hoon/reference/rune/cen#_-cenhep), calls a gate |
14+| `?(%foo %bar %baz)` | [`$?`](https://urbit.org/docs/hoon/reference/rune/buc#_-bucwut), forms a type union |
15+| `(fun a b c)` | [`%:`](https://urbit.org/docs/hoon/reference/rune/cen#_-cencol), calls a gate with n arguments |
1716| `~(arm core arg)` | [`%~`](https://urbit.org/docs/hoon/reference/rune/cen#_-censig), pulls an arm in a door |
1817| `foo(x 1, y 2, z 3)` | [`%=`](https://urbit.org/docs/hoon/reference/rune/cen#_-centis), resolve a wing with changes |
19−| `[a b]` | [`:-`](https://urbit.org/docs/hoon/reference/rune/col#_-colhep), constructs 2-tuple |
20−| `[a b c]` | [`:+`](https://urbit.org/docs/hoon/reference/rune/col#_-collus), constructs 3-tuple |
21−| `[a b c d]` | [`:^`](https://urbit.org/docs/hoon/reference/rune/col#_-colket), constructs 4-tuple |
22−| `[a b c d e …]` | [`:*`](https://urbit.org/docs/hoon/reference/rune/col#_-coltar), constructs _n_-tuple |
18+| `[a b c]` | [`:*`](https://urbit.org/docs/hoon/reference/rune/col#_-coltar) or [`$:`](https://urbit.org/docs/hoon/reference/rune/buc#_-buccol), constructs _n_-tuple in normal mode or its structure in structure mode |
2319| `~[a b c]` | [`:~`](https://urbit.org/docs/hoon/reference/rune/col#_-colsig), constructs null-terminated list |
2420| `+(42)` | [`.+`](https://urbit.org/docs/hoon/reference/rune/dot#_-dotlus), increments with Nock 4 |
2521| `=(a b)` | [`.=`](https://urbit.org/docs/hoon/reference/rune/dot#_-dottis), tests for equality wiht Nock 5 |
26−| `` `foo`bar `` | [`^-`](https://urbit.org/docs/hoon/reference/rune/ket#_-kethep), typecasts by explicit type label |
22+| `&#96;foo&#96;bar` | [`^-`](https://urbit.org/docs/hoon/reference/rune/ket#_-kethep), typecasts by explicit type label |
2723| `foo=bar` | [`^=`](https://urbit.org/docs/hoon/reference/rune/ket#_-kettis), binds name to value |
2824| `*foo` | [`^*`](https://urbit.org/docs/hoon/reference/rune/ket#_-kettar), bunts (produces default mold value) |
2925| `,foo` | [`^:`](https://urbit.org/docs/hoon/reference/rune/ket#_-ketcol), produces “factory” gate for type |
3026| `:(fun a b c d)` | [`;:`](https://urbit.org/docs/hoon/reference/rune/mic#_-miccol), calls binary function as _n_-ary function |
3127| `foo:bar` | [`=<`](https://urbit.org/docs/hoon/reference/rune/tis#_-tisgal), composes two expressions, inverted |
32−| `|(foo bar baz)` | [`?|`](https://urbit.org/docs/hoon/reference/rune/wut#_-wutbar), logical OR (loobean) |
28+| `&#124;(foo bar baz)` | [`?&#124;`](https://urbit.org/docs/hoon/reference/rune/wut#_-wutbar), logical OR (loobean) |
3329| `&(foo bar baz)` | [`?&`](https://urbit.org/docs/hoon/reference/rune/wut#_-wutpam), logical AND (loobean) |
3430| `!foo` | [`?!`](https://urbit.org/docs/hoon/reference/rune/wut#_-wutzap), logical NOT (loobean) |
35−| `;html` | Sail builder |
3631
3732##### Reading guide
3833