Created
May 24, 2022 19:15
-
-
Save guibou/a9630b5e4dbfa794d70788a297db08d2 to your computer and use it in GitHub Desktop.
This file contains 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
cases :: [a] -> String | |
cases _ = "Hello" | |
fiz = \cases l -> cases | |
main = do | |
putStrLn $ fiz "Chien" [] |
This file contains 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
[nix-shell:~]$ runhaskell Evil.hs | |
Chien | |
[nix-shell:~]$ runhaskell -XLambdaCase Evil.hs | |
Hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment