From 440c3730269f2ea5fc0d12c4b791794967b38025 Mon Sep 17 00:00:00 2001 From: Krzysztof Gogolewski Date: Sat, 15 Jul 2023 18:45:41 +0200 Subject: [PATCH] Amend sized literals to support deriving Show (#596) --- proposals/0451-sized-literals.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proposals/0451-sized-literals.rst b/proposals/0451-sized-literals.rst index 4a82c6ec9b..5c48b33f03 100644 --- a/proposals/0451-sized-literals.rst +++ b/proposals/0451-sized-literals.rst @@ -136,6 +136,9 @@ literals. (This can probably be factored with ``@signed_suffix`` and ``@unsigned_suffix``). +For types such as ``data T = MkT Int8# deriving Show``, the derived instance +should use the extended literal syntax. + Examples --------