Anonymous user
General FizzBuzz: Difference between revisions
m
→{{header|Tailspin}}: handle autotyping of tagged identifiers
(added BQN solution) |
m (→{{header|Tailspin}}: handle autotyping of tagged identifiers) |
||
Line 3,518:
=={{header|Tailspin}}==
<lang tailspin>
def input: {N: 110"1", words: [ { mod: 3"1", word: 'Fizz' }, { mod: 5"1", word: 'Buzz'}, {mod:7"1", word: 'Baxx'}]};
templates sayWords
Line 3,529:
end sayWords
[ 1"1"..$input.N -> '$->sayWords;' ] -> \[i](<''> $i ! <> $ !\) -> '$;
' -> !OUT::write
</lang>
|