3 ms·
There is a nice paper, which explores possible elegant solutions to FizzBuzz. https://themonadreader.files.wordpress.com/2014/04/fizzbuzz.pdf https://themonadre
by inoursweetz 6y ago
There is a nice paper, which explores possible elegant solutions to FizzBuzz.
https://themonadreader.files.wordpress.com/2014/04/fizzbuzz.pdf https://themonadreader.files.wordpress.com/2014/04/fizzbuzz....
- strogonoff 6y ago> FizzBuzz in Haskell by Embedding a Domain-Specific Language I was not disappointed. > Meanwhile, we want there to be at most one place that outputs fizz, buzz, or the string representation, and each test to be performed only once. These do intuitively seem like the properties of an elegant solution.