Add: Difference between revisions
Content added Content deleted
(add examples) |
(add syntaxhighlight) |
||
Line 1: | Line 1: | ||
The '''Add''' function, generally denoted by <code>+</code>, is used for addition in K. |
The '''Add''' function, generally denoted by <code>+</code>, is used for addition in K. |
||
The ''Add'' primitive is [[Atomicity|fully atomic.]] |
The ''Add'' primitive is [[Atomicity|fully atomic.]]<syntaxhighlight lang="apl"> |
||
1+2 |
|||
⚫ | |||
1 2 3+4 5 6 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
1 2 3+4 5 6 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
</syntaxhighlight> |
|||
⚫ | |||
⚫ | |||
⚫ |