-
-
Save emiaj/ed09befa7616f1992273 to your computer and use it in GitHub Desktop.
Revisions
-
emiaj revised this gist
Aug 14, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ let isEven :: Number -> Boolean let isEven 0 = false let isEven 1 = false let isEven 2 = true let isEven n = isEven(n-1) -
emiaj created this gist
Aug 14, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ let isEven :: Number -> Boolean let isEven 0 = false let isEven 1 = false let isEven 2 = true