Skip to content

Instantly share code, notes, and snippets.

@MuffinTheMan
Created September 11, 2013 15:13
Show Gist options
  • Save MuffinTheMan/6525037 to your computer and use it in GitHub Desktop.
Save MuffinTheMan/6525037 to your computer and use it in GitHub Desktop.
This may or may not be a correct program in Haskell (my compiler isn't working, so I can't test it). It's supposed to check if the given input is a palindrome.
pal input = if (input == reverse input) then True else False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment