Commit 6b579025 authored by igloo's avatar igloo

[project @ 2002-12-10 02:34:22 by igloo]

Correctly convert expressions from TH datastructures to the internel Hs*
datastructures containing right infix operators left-parenthesised.
parent b3f3d027
-- test reification of type synonym declarations
module TH_spliceExpr1
import Language.Haskell.THSyntax
foo :: Int
foo = $( [| ((+) $ 2) $ 2 |] )
......@@ -17,3 +17,5 @@ test('TH_reifyType2', normal, compile, [''])
test('TH_spliceDecl1', normal, compile, ['-v0'])
test('TH_spliceDecl2', normal, compile, ['-v0'])
test('TH_spliceDecl3', normal, multimod_compile, ['TH_spliceDecl3', '-v0'])
test('TH_spliceExpr1', normal, compile, ['-v0'])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment