diff options
Diffstat (limited to 'docs/users_guide/exts/datatype_contexts.rst')
-rw-r--r-- | docs/users_guide/exts/datatype_contexts.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/exts/datatype_contexts.rst b/docs/users_guide/exts/datatype_contexts.rst index 240b8a332d..3848347388 100644 --- a/docs/users_guide/exts/datatype_contexts.rst +++ b/docs/users_guide/exts/datatype_contexts.rst @@ -8,6 +8,8 @@ Data type contexts :since: 7.0.1 + :status: Deprecated, Included in :extension:`Haskell98`, :extension:`Haskell2010` + Allow contexts on ``data`` types. Haskell allows datatypes to be given contexts, e.g. :: @@ -22,5 +24,3 @@ give constructors with types: :: This is widely considered a misfeature, and is going to be removed from the language. In GHC, it is controlled by the deprecated extension ``DatatypeContexts``. - - |