Use extended literals when deriving Show
This implements GHC proposal https://github.com/ghc-proposals/ghc-proposals/pull/596 Also add support for Int64# and Word64#; see testcase ShowPrim.
Showing
- compiler/GHC/Tc/Deriv/Generate.hs 29 additions, 57 deletionscompiler/GHC/Tc/Deriv/Generate.hs
- docs/users_guide/9.8.1-notes.rst 4 additions, 0 deletionsdocs/users_guide/9.8.1-notes.rst
- testsuite/tests/primops/should_run/ShowPrim.hs 11 additions, 4 deletionstestsuite/tests/primops/should_run/ShowPrim.hs
- testsuite/tests/primops/should_run/ShowPrim.stdout 4 additions, 3 deletionstestsuite/tests/primops/should_run/ShowPrim.stdout
Loading
Please register or sign in to comment