Created
September 20, 2017 00:39
-
-
Save brandonpittman/70f3f76bd96628e3087b31c1711c6f2e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def even_length?([]), do: true | |
def even_length?([_]), do: false | |
def even_length?([ _, _ | t ]), do: even_length?(t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yup, looks good.