Created
February 12, 2015 20:02
-
-
Save dvbeato/5e773944c3461ee8730f 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
| guess :: Int -> [Char] | |
| guess 7 = "Acertou" | |
| guess x = "Ooops, tente outra vez." | |
| plus1 :: [Int] -> [Int] | |
| plus1 [] = [] | |
| plus1 (x:xs) = x + 1 : plus1 xs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment