Created
August 11, 2019 03:44
-
-
Save MarcelineVQ/53167d556af23ffdd0699ed513a0f0c4 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
| module Main where | |
| {-# NOINLINE foo #-} | |
| foo :: String | |
| foo = "hello" | |
| foo2 :: String | |
| foo2 = "goodbye" | |
| main :: IO () | |
| main = print foo | |
| {-# RULES | |
| "foo/foo2" foo = foo2 | |
| #-} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment