Ad
  • Custom User Avatar
  • Default User Avatar

    It really just took one minute haha. I didn't have the skills to takle the problem in a different way.
    After seeing other solutions I would probably go with something involvig Data.Map. That's the beauty of this, learning by comparison.

  • Custom User Avatar

    You're absolutely right, it's very descriptive and self-explanatory. But a lot of work to code up, wasn't it? Sorry, I'm just curious because usually I would spend hours to come up with a supposedly "easy" solution to a coding problem that reduces typing instead of going the route of hardcoding stuff (which might take just 20 min or so).

  • Default User Avatar

    It may not be clever at all but no doubt the code is very comprehensive. f is just the funtion that maps a caracter to it's rot13 version.

  • Custom User Avatar

    Oh well, I didn't expect that. It's certainly a solution, maybe not an optimal one, though... Any comments why this should be a solution to this problem?