Commit e5c232e0 authored by simonpj's avatar simonpj
Browse files

[project @ 2005-01-31 15:48:21 by simonpj]

	Some Template Haskell fixes

* Tidy up conversion from TH.Name to RdrName.RdrName. It was partly
  duplicated between Convert.thRdrName and TcSplice.lookupThName.
  Now it's all in one place: Convert.thRdrName

* Fix a bug in TH.tupleTypeName/TH.tupleDataName (GHC.Tuple -> Data.Tuple)

* Export appEs from Language.Haskell.TH
parent 565cbfe4
......@@ -35,7 +35,7 @@ module Language.Haskell.TH(
fromR, fromThenR, fromToR, fromThenToR,
normalB, guardedB, normalG, normalGE, patG, patGE, match, clause,
dyn, global, varE, conE, litE, appE, infixE, infixApp, sectionL, sectionR,
lamE, lam1E, tupE, condE, letE, caseE, doE, compE, arithSeqE,
lamE, lam1E, tupE, condE, letE, caseE, doE, compE, arithSeqE, appsE,
fromE, fromThenE, fromToE, fromThenToE,
listE, sigE, recConE, recUpdE, stringE, fieldExp,
valD, funD, tySynD, dataD, newtypeD, classD, instanceD, sigD, forImpD,
......@@ -409,7 +409,7 @@ mk_tup_name n_commas space
= Name occ (NameG space tup_mod)
occ = mkOccName ('(' : replicate n_commas ',' ++ ")")
tup_mod = mkModName "GHC.Tuple"
tup_mod = mkModName "Data.Tuple"
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