Skip to content

Instantly share code, notes, and snippets.

@b-mehta
Created December 8, 2018 00:13
Show Gist options
  • Save b-mehta/0c0d3cb87b8a59b3cacea6dde0227a58 to your computer and use it in GitHub Desktop.
Save b-mehta/0c0d3cb87b8a59b3cacea6dde0227a58 to your computer and use it in GitHub Desktop.
test :: [a] -> Bool
test (_:_:_) = True
test _ = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment