Overloaded operators: Difference between revisions

Content added Content deleted
mNo edit summary
(add BQN)
Line 60: Line 60:
10 "+" true = 11
10 "+" true = 11
</pre>
</pre>

=={{header|BQN}}==
What would generally be called operators in other languages are the basic functions in BQN. Nearly all functions have overloads, and the monadic and dyadic cases are generally inter-related.

For example, <code>⌊</code> is Floor in the monadic case:
<lang bqn> ⌊4.5
4
</lang>
But in the dyadic case, it becomes Minimum:
<lang bqn> 4 ⌊ 3
3
</lang


=={{header|C++}}==
=={{header|C++}}==