|
1 | 1 | <link rel="stylesheet" type="text/css" href="styles.css">
|
2 | 2 |
|
3 |
| -### `[] : (base-type[], U64) -> base-type` |
| 3 | +### `[] : (&base-type, U64) -> base-type` |
4 | 4 |
|
5 |
| -### `set[] : (base-type[], U64, base-type) -> base-type` |
| 5 | +### `set[] : (&base-type, U64, base-type) -> base-type` |
6 | 6 |
|
7 |
| -### `+ : (base-type[], U64) -> base-type[]` |
| 7 | +### `+ : (&base-type, USize) -> &base-type` |
8 | 8 |
|
9 | 9 | Pointer arithmetic.
|
10 | 10 |
|
11 |
| -### `+ : (base-type[], I64) -> base-type[]` |
| 11 | +### `+ : (&base-type, ISize) -> &base-type` |
12 | 12 |
|
13 | 13 | Pointer arithmetic.
|
14 | 14 |
|
15 |
| -### `== : (base-type[], base-type[]) -> Bool` |
| 15 | +### `== : (&base-type, &base-type) -> Bool` |
16 | 16 |
|
17 | 17 | Pointers are have linear addresses.
|
18 | 18 |
|
19 |
| -### `!= : (base-type[], base-type[]) -> Bool` |
| 19 | +### `!= : (&base-type, &base-type) -> Bool` |
20 | 20 |
|
21 | 21 | Pointers are have linear addresses.
|
22 | 22 |
|
23 |
| -### `< : (base-type[], base-type[]) -> Bool` |
| 23 | +### `< : (&base-type, &base-type) -> Bool` |
24 | 24 |
|
25 | 25 | Pointers are have linear addresses.
|
26 | 26 |
|
27 |
| -### `<= : (base-type[], base-type[]) -> Bool` |
| 27 | +### `<= : (&base-type, &base-type) -> Bool` |
28 | 28 |
|
29 | 29 | Pointers are have linear addresses.
|
30 | 30 |
|
31 |
| -### `> : (base-type[], base-type[]) -> Bool` |
| 31 | +### `> : (&base-type, &base-type) -> Bool` |
32 | 32 |
|
33 | 33 | Pointers are have linear addresses.
|
34 | 34 |
|
35 |
| -### `>= : (base-type[], base-type[]) -> Bool` |
| 35 | +### `>= : (&base-type, &base-type) -> Bool` |
36 | 36 |
|
37 | 37 | Pointers are have linear addresses.
|
38 | 38 |
|
39 |
| -### `close : base-type -> base-type[]` |
| 39 | +### `close : base-type -> &base-type` |
40 | 40 |
|
41 | 41 | `close` tries to seal a value into a new indirect memory region.
|
42 | 42 |
|
43 |
| -### `open : base-type[] -> base-type` |
| 43 | +### `open : &base-type -> base-type` |
44 | 44 |
|
45 | 45 | `open` tries to open a value from an indirect memory region.
|
46 | 46 |
|
47 | 47 | ### `open : base-type -> base-type`
|
48 | 48 |
|
49 | 49 | If a value is already directly accessible, then `open` is a noop.
|
50 | 50 |
|
51 |
| -### `& : LocalVariable+base-type -> base-type[]` |
| 51 | +### `& : LocalVariable+base-type -> &base-type` |
52 | 52 |
|
53 | 53 | Local variables have logical addresses that can be referenced with `&`.
|
54 | 54 |
|
55 |
| -### `& : GlobalVariable+base-type -> base-type[]` |
| 55 | +### `& : GlobalVariable+base-type -> &base-type` |
56 | 56 |
|
57 | 57 | Global variables have logical addresses that can be referenced with `&`.
|
| 58 | + |
| 59 | +### `.into : (x,Type<&x>) -> &x` |
0 commit comments