Created
June 4, 2014 13:38
-
-
Save imalsogreg/8332cf1ee11d69568b25 to your computer and use it in GitHub Desktop.
Heist.SpliceAPI - try to break duplicate detection (in this case, duplicate IS detected)
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
{-# LANGUAGE OverloadedStrings #-} | |
module Main where | |
import Heist.SpliceAPI | |
main :: IO () | |
main = print $ runSplices baz | |
foo = do | |
"aoeu" #! (1 :: Int) | |
"baba" #! 2 | |
bar = do | |
"smoot" #! 2 | |
"aeou" #! 5 | |
baz = do | |
foo | |
bar | |
"extra" #! 8181 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment