Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/FizzBuzz/Hoon/fizzbuzz.hoon
Normal file
11
Task/FizzBuzz/Hoon/fizzbuzz.hoon
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
:- %say
|
||||
|= [^ ~ ~]
|
||||
:- %noun
|
||||
%+ turn (gulf [1 101])
|
||||
|= a=@
|
||||
=+ q=[=(0 (mod a 3)) =(0 (mod a 5))]
|
||||
?+ q <a>
|
||||
[& &] "FizzBuzz"
|
||||
[& |] "Fizz"
|
||||
[| &] "Buzz"
|
||||
==
|
||||
Loading…
Add table
Add a link
Reference in a new issue