Created
January 24, 2020 09:16
-
-
Save typelogic/771f9ea798a33f3f04d11d3e205acdf2 to your computer and use it in GitHub Desktop.
lazy evaluation in haskell
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
| f1 a = a + 1 | |
| f2 a b | |
| | b == 0 = 5 | |
| | otherwise = a b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment