FizzBuzz: Difference between revisions
→BQN: Added example using the choose (◶) combonator
(→Insitux: implementation) |
Rumwantscake (talk | contribs) (→BQN: Added example using the choose (◶) combonator) |
||
Line 1,319:
Using the Catch modifier for flow control
<syntaxhighlight lang="bqn">((∾´"fizz"‿"buzz"/˜0=3‿5|⊢)⎊⊢)¨1+↕100</syntaxhighlight>
Using the Choose Combonator with a rank 2 array
<syntaxhighlight lang="bqn">(3‿5 (0=|)◶[⊢‿"fizz","buzz"‿"fizzbuzz"] ⊢)¨ 1+↕100</syntaxhighlight>
=={{header|Bracmat}}==
|