summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-02-07 21:52:49 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-13 21:31:59 -0500
commitdcc4b2de37f73a05a106b78bae0b99eb9715cf01 (patch)
tree8a5c8de59fd486213f326892e31e788f87f067b1 /compiler/GHC/Core
parent18e5338671518d060006010ebb796df265cb52e3 (diff)
downloadhaskell-dcc4b2de37f73a05a106b78bae0b99eb9715cf01.tar.gz
Remove deprecated -XGenerics and -XMonoPatBinds
They have no effect since 2011 (GHC 7.2/7.4), commits cb698570b2b and 49dbe60558.
Diffstat (limited to 'compiler/GHC/Core')
-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