|
19 | 19 | {- |
20 | 20 | # Tuple manipulation primitives |
21 | 21 | The names and the types are mostly self-explaining. |
22 | | - See [polymorhism with forall](https://ton.org/docs/#/func/functions?id=polymorphism-with-forall) |
| 22 | + See [polymorphism with forall](https://ton.org/docs/#/func/functions?id=polymorphism-with-forall) |
23 | 23 | for more info on the polymorphic functions. |
24 | 24 |
|
25 | 25 | Note that currently values of atomic type `tuple` can't be cast to composite tuple type (e.g. `[int, cell]`) |
26 | | - and vise versa. |
| 26 | + and vice versa. |
27 | 27 | -} |
28 | 28 |
|
29 | 29 | {- |
@@ -631,7 +631,7 @@ int get_seed() impure asm "RANDSEED"; |
631 | 631 | ;;; Equivalent to randomize(cur_lt());. |
632 | 632 | () randomize_lt() impure asm "LTIME" "ADDRAND"; |
633 | 633 |
|
634 | | -;;; Checks whether the data parts of two slices coinside |
| 634 | +;;; Checks whether the data parts of two slices coincide |
635 | 635 | int equal_slices_bits(slice a, slice b) asm "SDEQ"; |
636 | 636 | ;;; Checks whether b is a null. Note, that FunC also has polymorphic null? built-in. |
637 | 637 | int builder_null?(builder b) asm "ISNULL"; |
@@ -834,7 +834,7 @@ builder store_query_id(builder b, int query_id) inline { |
834 | 834 |
|
835 | 835 | ;; For `send_raw_message` and `send_message`: |
836 | 836 |
|
837 | | -;;; x = 0 is used for ordinary messages; the gas fees are deducted from the senging amount; action phaes should NOT be ignored. |
| 837 | +;;; x = 0 is used for ordinary messages; the gas fees are deducted from the sending amount; action phase should NOT be ignored. |
838 | 838 | const int SEND_MODE_REGULAR = 0; |
839 | 839 | ;;; +1 means that the sender wants to pay transfer fees separately. |
840 | 840 | const int SEND_MODE_PAY_FEES_SEPARATELY = 1; |
|
0 commit comments