summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/TyCon.hs
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-02-07 21:52:49 +0100
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-02-07 22:28:15 +0100
commit65167387035b16372d44f2714b425a9c8636ce17 (patch)
tree8a16c8a194036890a0b7c747ed5b530461e5e9f8 /compiler/GHC/Core/TyCon.hs
parentab5fd982a7a501136cb8b90fa841c02cc9551b5a (diff)
downloadhaskell-wip/no-generics.tar.gz
Remove deprecated -XGenerics and -XMonoPatBindswip/no-generics
They have no effect since 2011 (GHC 7.2/7.4), commits cb698570b2b and 49dbe60558.
Diffstat (limited to 'compiler/GHC/Core/TyCon.hs')
-rw-r--r--compiler/GHC/Core/TyCon.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/GHC/Core/TyCon.hs b/compiler/GHC/Core/TyCon.hs
index efa6cfbcf7..2684a4d6d4 100644
--- a/compiler/GHC/Core/TyCon.hs
+++ b/compiler/GHC/Core/TyCon.hs
@@ -1612,10 +1612,7 @@ mkFunTyCon name binders rep_nm
tcRepName = rep_nm
}
--- | This is the making of an algebraic 'TyCon'. Notably, you have to
--- pass in the generic (in the -XGenerics sense) information about the
--- type constructor - you can get hold of it easily (see Generics
--- module)
+-- | This is the making of an algebraic 'TyCon'.
mkAlgTyCon :: Name
-> [TyConBinder] -- ^ Binders of the 'TyCon'
-> Kind -- ^ Result kind