Created
January 17, 2014 01:42
-
-
Save pedrofurla/8467057 to your computer and use it in GitHub Desktop.
error "todo" is special? `in` can contain statements?
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
hardCoreFunction a b c = | |
let z = a + b | |
k = b + c | |
in | |
error "todo" -- should be removed when the code below is not comment | |
z + k -- these are only experiements, usually explorations into the types of z and k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The real case - compiled! And obvious throws exceptions!