Skip to content
Snippets Groups Projects
Commit 9784ec11 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add GADTSyntax to extension list

parent f1d4699a
No related merge requests found
......@@ -321,10 +321,12 @@ data KnownExtension =
-- | [GHC § 7.4.6] Enable generalized algebraic data types, in
-- which type variables may be instantiated on a per-constructor
-- basis. Enables \"GADT syntax\" which can be used to declare
-- GADTs as well as ordinary algebraic types.
-- basis. Implies GADTSyntax.
| GADTs
-- | Enable GADT syntax for declaring ordinary algebraic datatypes.
| GADTSyntax
-- | [GHC § 7.17.2] Make pattern bindings monomorphic.
| MonoPatBinds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment