Max: Difference between revisions

From The K Language Wiki
Content added Content deleted
("Add category")
("Better category ordering, add redirects to categories, fix pseudo-adverb categories")
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
</pre>
</pre>


[[Category:Verbs]]
[[Category:Operator verbs]]
[[Category:Operator verbs]]
[[Category:Primitives]]

Latest revision as of 06:41, 9 July 2022

Max
x|y

max, also known as or, takes the maximum of two arguments.

On boolean arguments, effectively works as an OR operator.

The max primitive is fully atomic.

 3 5 7|0 6 9
3 6 9

 "abc"|"01d"
97 98 100