diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2022-04-06 18:55:11 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-04-07 12:57:59 -0400 |
commit | 02279a9c37deb34556834f706dbedc09258df753 (patch) | |
tree | 49875226385590fc2e25c6db224890ad374cc785 /testsuite/tests/showIface | |
parent | 83363c8b04837ee871a304cf85207cf79b299fb0 (diff) | |
download | haskell-02279a9c37deb34556834f706dbedc09258df753.tar.gz |
Rename [] to List (#21294)
This patch implements a small part of GHC Proposal #475.
The key change is in GHC.Types:
- data [] a = [] | a : [a]
+ data List a = [] | a : List a
And the rest of the patch makes sure that List is pretty-printed as []
in various contexts.
Updates the haddock submodule.
Diffstat (limited to 'testsuite/tests/showIface')
-rw-r--r-- | testsuite/tests/showIface/DocsInHiFileTH.stdout | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/showIface/DocsInHiFileTH.stdout b/testsuite/tests/showIface/DocsInHiFileTH.stdout index 0e9c1af6d5..1eac242a68 100644 --- a/testsuite/tests/showIface/DocsInHiFileTH.stdout +++ b/testsuite/tests/showIface/DocsInHiFileTH.stdout @@ -106,9 +106,9 @@ docs: $fCTYPEInt -> [text: -- |A new instance identifiers:], - $fCTYPE[] -> [text: - -- |Another new instance - identifiers:], + $fCTYPEList -> [text: + -- |Another new instance + identifiers:], $fDka -> [text: -- |Another new instance identifiers:], |