Test Post

August 25, 2019

This is a test post to ensure Gatsby, MDX, Theme-UI, and other dependencies are working as expected. Here is fizzbuzz in Reason.

let rec fizzBuzz = (n: int) => {
switch (n) {
| n when n mod 15 == 0 => ["FizzBuzz", ...fizzBuzz(n - 1)]
| n when n mod 5 == 0 => ["Buzz", ...fizzBuzz(n - 1)]
| n when n mod 3 == 0 => ["Fizz", ...fizzBuzz(n - 1)]
| n when n == 0 => []
| n => [string_of_int(n), ...fizzBuzz(n - 1)]
};
};