diff options
author | toonn <ghc@toonn.io> | 2020-08-22 15:53:38 +0200 |
---|---|---|
committer | toonn <ghc@toonn.io> | 2020-08-22 15:53:38 +0200 |
commit | 1f8e98313f46414987c88d6cc8f8fe7e34fba1ff (patch) | |
tree | 2c0b76516013fbf2876ab29902389fcbe2a363cd | |
parent | f8f595152dbb9ba46896c43870e327724a2f8fdf (diff) | |
download | haskell-1f8e98313f46414987c88d6cc8f8fe7e34fba1ff.tar.gz |
Fix typos in Template Haskell section of ghc 8.10.1 notes
-rw-r--r-- | docs/users_guide/8.10.1-notes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/8.10.1-notes.rst b/docs/users_guide/8.10.1-notes.rst index 9a259bd7dd..f7290f35f0 100644 --- a/docs/users_guide/8.10.1-notes.rst +++ b/docs/users_guide/8.10.1-notes.rst @@ -308,7 +308,7 @@ Template Haskell ~~~~~~~~~~~~~~~~ - The ``Lift`` typeclass is now levity-polymorphic and has a ``liftTyped`` - method. Previously disallowed instances for unboxed tuples, unboxed sums, an + method. Previously disallowed instances for unboxed tuples, unboxed sums, and primitive unboxed types have also been added. Finally, the code generated by :extension:`DeriveLift` has been simplified to take advantage of expression quotations. @@ -316,7 +316,7 @@ Template Haskell - Using ``TupleT 1``, ``TupE [exp]``, or ``TupP [pat]`` will now produce unary tuples (i.e., involving the ``Unit`` type from ``GHC.Tuple``) instead of silently dropping the parentheses. This brings Template Haskell's treatment - of boxed tuples in line with that of unboxed tuples, as ``UnboxedTupleT`, + of boxed tuples in line with that of unboxed tuples, as ``UnboxedTupleT``, ``UnboxedTupE``, and ``UnboxedTupP`` also produce unary unboxed tuples (i.e., ``Unit#``) when applied to only one argument. |