Add: Difference between revisions

37 bytes added ,  2 years ago
add syntaxhighlight
(add examples)
(add syntaxhighlight)
Line 1:
The '''Add''' function, generally denoted by <code>+</code>, is used for addition in K.
 
The ''Add'' primitive is [[Atomicity|fully atomic.]]<syntaxhighlight lang="apl">
1+2
3
 
1 2 13+24 5 6
5 7 9
3
 
((23;45);(3;4))+((45;78);(9;0))
1 2 3+4 5 6
(68 123
5 7 9
12 4)
</syntaxhighlight>
((23;45);(3;4))+((45;78);(9;0))
(68 123
12 4)