diff options
Diffstat (limited to 'docs/users_guide/exts/newtype_deriving.rst')
-rw-r--r-- | docs/users_guide/exts/newtype_deriving.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/exts/newtype_deriving.rst b/docs/users_guide/exts/newtype_deriving.rst index 8e91e4fb16..8856287a91 100644 --- a/docs/users_guide/exts/newtype_deriving.rst +++ b/docs/users_guide/exts/newtype_deriving.rst @@ -9,6 +9,8 @@ Generalised derived instances for newtypes :since: 6.8.1. British spelling since 8.6.1. + :status: Included in :extension:`GHC2021` + Enable GHC's cunning generalised deriving mechanism for ``newtype``\s When you define an abstract type using ``newtype``, you may want the new @@ -365,5 +367,3 @@ Note that :extension:`DerivingVia` (see :ref:`deriving-via`) uses essentially the same specification to derive instances of associated type families as well (except that it uses the ``via`` type instead of the underlying ``rep-type`` of a newtype). - - |