-
-
Save ckoparkar/6b5ec4ee97873d1aa400fe8143849dc1 to your computer and use it in GitHub Desktop.
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
-- ghc-8.6.5 -O0 -ddump-ds -ddump-simpl -ddump-to-file -fexpose-all-unfoldings -dsuppress-uniques \ | |
-- -fforce-recomp -dsuppress-idinfo A.hs | |
module A where | |
import qualified Data.Map as M | |
data Foo = A Int | |
| B Foo Int | |
deriving Eq | |
some_fun :: M.Map Int a -> Maybe a | |
some_fun = M.lookup 0 | |
{-# INLINE some_fun #-} | |
other_fun :: Num a => a -> a | |
other_fun x = x + x | |
{-# INLINE other_fun #-} | |
foo :: Integer | |
foo = other_fun 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment