diff options
author | Torsten Schmits <git@tryp.io> | 2022-09-21 13:38:55 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-09-21 14:31:24 -0400 |
commit | 2463df2fe21b5b37ecada3df8c6726c534d24590 (patch) | |
tree | 824454d1e2d543da906c2b645365f051b04f3ddc /testsuite/tests/module | |
parent | c0ba775dda6ddec1251363d1b73f4f3e35931dd9 (diff) | |
download | haskell-2463df2fe21b5b37ecada3df8c6726c534d24590.tar.gz |
Rename Solo[constructor] to MkSolo
Part of proposal 475 (https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0475-tuple-syntax.rst)
Moves all tuples to GHC.Tuple.Prim
Updates ghc-prim version (and bumps bounds in dependents)
updates haddock submodule
updates deepseq submodule
updates text submodule
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r-- | testsuite/tests/module/T20562.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/module/T20562.hs b/testsuite/tests/module/T20562.hs index 352be5e9e2..e046947f33 100644 --- a/testsuite/tests/module/T20562.hs +++ b/testsuite/tests/module/T20562.hs @@ -1,7 +1,7 @@ {-# LANGUAGE PatternSynonyms #-} module Main (main) where -import GHC.Tuple +import GHC.Tuple (Solo (MkSolo), getSolo) type OneTuple = Solo @@ -9,7 +9,7 @@ only :: OneTuple a -> a only = getSolo pattern OneTuple :: a -> Solo a -pattern OneTuple a = Solo a +pattern OneTuple a = MkSolo a main :: IO () main = print (only (OneTuple 'x')) |