Add: Difference between revisions
Content added Content deleted
(Created page with "The '''Add''' function, generally denoted by `+`, is used for addition in K. The ''Add'' primitive is fully atomic. <pre> 1+2 3 </pre>") |
("Better category ordering, add redirects to categories, fix pseudo-adverb categories") |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{primitive|x+y}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<pre> |
|||
1+2 |
1+2 |
||
3 |
3 |
||
1 2 3+4 5 6 |
|||
5 7 9 |
|||
((23;45);(3;4))+((45;78);(9;0)) |
|||
(68 123 |
|||
12 4) |
|||
</pre> |
</pre> |
||
[[Category:Verbs]] |
|||
[[Category:Operator verbs]] |
|||
[[Category:Primitives]] |
Latest revision as of 05:57, 9 July 2022
Add
x+y
The add function, generally denoted by +
, is used for addition in K.
The add primitive is fully atomic.
1+2 3 1 2 3+4 5 6 5 7 9 ((23;45);(3;4))+((45;78);(9;0)) (68 123 12 4)