Ad
  • Custom User Avatar

    I don't think that's the case. When I changed the type decleration to [Int] -> String I still got an error:

    /tmp/haskell11799-5-qnsh3p.q8iz1if6r/Test/OddOrEven.hs:30:21:
    Couldn't match type Integer' with Int'
    Expected type: [Int]
    Actual type: [Integer]
    In the first argument of oddOrEven', namely a'
    In the first argument of shouldBe', namely oddOrEven a'

    I think there's a deeper problem with the tests for this kata.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution