Skip to main content
deleted 11 characters in body
Source Link
mattnewport
  • 1.7k
  • 9
  • 10

Hoon, 115 bytes

This is a Hoon say generator which can be used to write the output to a file from the dojo. I think

turn is Hoon's map, it may be possibletakes a list from 1..100 generated via (gulf 1 100) and uses string interpolation and the 'null check' conditional rune ?~ to reducegenerate either "Fizz", "Buzz" or "FizzBuzz" according to the character count by playing around with irregular forms but thisvalue of x. This is paired with the best I can do for nowvalue of x as a string <x> and then - and + are used to select the fizzbuzz string if not empty, otherwise the number string from the pair.

:-
%say
|=
*
:-
%txt
%+
turn
(gulf 1 100)
|=
x=@
=>
"{?~((mod x 3) "Fizz" ~)}{?~((mod x 5) "Buzz" ~)}"^<x>
?~
-
+
-

Hoon, 115 bytes

This is a Hoon say generator which can be used to write the output to a file. I think it may be possible to reduce the character count by playing around with irregular forms but this is the best I can do for now.

:-
%say
|=
*
:-
%txt
%+
turn
(gulf 1 100)
|=
x=@
=>
"{?~((mod x 3) "Fizz" ~)}{?~((mod x 5) "Buzz" ~)}"^<x>
?~
-
+
-

Hoon, 115 bytes

This is a Hoon say generator which can be used to write the output to a file from the dojo.

turn is Hoon's map, it takes a list from 1..100 generated via (gulf 1 100) and uses string interpolation and the 'null check' conditional rune ?~ to generate either "Fizz", "Buzz" or "FizzBuzz" according to the value of x. This is paired with the value of x as a string <x> and then - and + are used to select the fizzbuzz string if not empty, otherwise the number string from the pair.

:-
%say
|=
*
:-
%txt
%+
turn
(gulf 1 100)
|=
x=@
=>
"{?~((mod x 3) "Fizz" ~)}{?~((mod x 5) "Buzz" ~)}"^<x>
?~
-
+
-
deleted 11 characters in body
Source Link
mattnewport
  • 1.7k
  • 9
  • 10

Hoon, 117115 bytes

This is a Hoon say generator which can be used to write the output to a file. I think it may be possible to reduce the character count by playing around with irregular forms but this is the best I can do for now.

:-
%say
|=
*
:-
%txt
%+
turn
(gulf 1 100)
|=
x=@
=/
y
%+
weld=>
"{?~
 ((mod x 3)
  "Fizz"
  ~
 )}{?~
 ((mod x 5)
  "Buzz"
  ~)}"^<x>
?~
y-
<x>+
y-

Hoon, 117 bytes

This is a Hoon say generator which can be used to write the output to a file. I think it may be possible to reduce the character count by playing around with irregular forms but this is the best I can do for now.

:-
%say
|=
*
:-
%txt
%+
turn
(gulf 1 100)
|=
x=@
=/
y
%+
weld
?~
 (mod x 3)
 "Fizz"
 ~
 ?~
 (mod x 5)
 "Buzz"
 ~
?~
y
<x>
y

Hoon, 115 bytes

This is a Hoon say generator which can be used to write the output to a file. I think it may be possible to reduce the character count by playing around with irregular forms but this is the best I can do for now.

:-
%say
|=
*
:-
%txt
%+
turn
(gulf 1 100)
|=
x=@
=>
"{?~((mod x 3) "Fizz" ~)}{?~((mod x 5) "Buzz" ~)}"^<x>
?~
-
+
-
Source Link
mattnewport
  • 1.7k
  • 9
  • 10

Hoon, 117 bytes

This is a Hoon say generator which can be used to write the output to a file. I think it may be possible to reduce the character count by playing around with irregular forms but this is the best I can do for now.

:-
%say
|=
*
:-
%txt
%+
turn
(gulf 1 100)
|=
x=@
=/
y
%+
weld
?~
(mod x 3)
"Fizz"
~
?~
(mod x 5)
"Buzz"
~
?~
y
<x>
y