BeniVF / fizzbuzz-hs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fizzbuzz

Haskell implementation of Fizz buzz kata.

Requirements

  • For multiples of three print Fizz instead of the number
  • For the multiples of five print Buzz instead of the number
  • For numbers which are multiples of both three and five print FizzBuzz instead of the number
  • Create a report with the result

Test

Change code and run test:

  > stack ghci --ghci-options -isrc --ghci-options -itest fizzbuzz:fizzbuzz-test

Run all the tests using:

  > stack test

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%