summaryrefslogtreecommitdiff
path: root/compiler/iface/BuildTyCl.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-01-08 15:54:39 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2015-01-08 15:57:39 +0000
commit9564bb8c84cbc0397a414e946cc8c28801f0fbe7 (patch)
treee9f3793a9ebd81b9c0961391c02122d85ea7de30 /compiler/iface/BuildTyCl.hs
parent43e5a2216494004d2073a472af13239d004f2ed6 (diff)
downloadhaskell-9564bb8c84cbc0397a414e946cc8c28801f0fbe7.tar.gz
Improve HsBang
Provoked by questions from Johan - Improve comments, fix misleading stuff - Add commented synonyms for HsSrcBang, HsImplBang, and use them throughout - Rename HsUserBang to HsSrcBang - Rename dataConStrictMarks to dataConSrcBangs dataConRepBangs to dataConImplBangs This renaming affects Haddock in a trivial way, hence submodule update
Diffstat (limited to 'compiler/iface/BuildTyCl.hs')
-rw-r--r--compiler/iface/BuildTyCl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/iface/BuildTyCl.hs b/compiler/iface/BuildTyCl.hs
index 6e14700cfa..48f5d99efe 100644
--- a/compiler/iface/BuildTyCl.hs
+++ b/compiler/iface/BuildTyCl.hs
@@ -128,7 +128,7 @@ mkNewTyConRhs tycon_name tycon con
------------------------------------------------------
buildDataCon :: FamInstEnvs
-> Name -> Bool
- -> [HsBang]
+ -> [HsSrcBang]
-> [Name] -- Field labels
-> [TyVar] -> [TyVar] -- Univ and ext
-> [(TyVar,Type)] -- Equality spec