Skip to content

Instantly share code, notes, and snippets.

@priort
Last active December 30, 2018 12:43
Show Gist options
  • Save priort/6b47148020df8e26214e8a3b726c3071 to your computer and use it in GitHub Desktop.
Save priort/6b47148020df8e26214e8a3b726c3071 to your computer and use it in GitHub Desktop.
isPalindrome (x1 : xs) = x1 == last xs && isPalindrome (init xs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment