Skip to content

Instantly share code, notes, and snippets.

@imalsogreg
Created June 4, 2014 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imalsogreg/8332cf1ee11d69568b25 to your computer and use it in GitHub Desktop.
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)
{-# 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