Ad
  • Custom User Avatar

    I have no idea how you can see the various codes that I entered and why you doubt me?! I have three versions of this code running in GHCi, all correctly. Including one version with error handling if input text isn't one of the three std input strings. I was talking on Discord FP server in the #haskell-beginners channel and getting some help.

    There seems to be an issue with the read command (and readMaybe) working in GHC and not in Codewars. I removed all the use of datatypes and just used strings instead so i didn't need the read or readMaybe functions and it works in CodeWars too. Seems Codewars does not like read.

  • Custom User Avatar

    My Haskell code works perfectly in GHCi. Fails on each test when I hit "Attempt" button. Seems like many others have same issue in other languages.

  • Custom User Avatar

    the codewars error messages suggested to me escape chars like \t, \r, \n, \b needed to be exemted from words being reversed. but no, this was more than what was required.

  • Custom User Avatar
  • Custom User Avatar

    i thought about using math on ASCII, good solution.