Created
May 24, 2022 19:15
-
-
Save guibou/a9630b5e4dbfa794d70788a297db08d2 to your computer and use it in GitHub Desktop.
Revisions
-
guibou created this gist
May 24, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ cases :: [a] -> String cases _ = "Hello" fiz = \cases l -> cases main = do putStrLn $ fiz "Chien" [] 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ [nix-shell:~]$ runhaskell Evil.hs Chien [nix-shell:~]$ runhaskell -XLambdaCase Evil.hs Hello