Last active
January 13, 2016 22:52
-
-
Save spencerjanssen/23cdb3dadf1e2e1451c5 to your computer and use it in GitHub Desktop.
Where does a come from in the second case? Bug or intentional?
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
module Main where | |
import Prelude | |
import Control.Monad.Eff.Console | |
data W | |
= X | |
| Y | |
| Z | |
bad X a = a | |
bad Y _ = a+1 | |
bad Z a = a | |
main = print (bad Y 999) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment