diff options
author | Richard Eisenberg <rae@richarde.dev> | 2021-01-14 21:36:43 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-27 17:41:44 -0500 |
commit | 189efc39e0cf111bcb6d2ad5d474fcd01a706eb8 (patch) | |
tree | 420e4ecfc6ddb644c3321a36b95f444933363943 /testsuite/tests/programs | |
parent | 2f689a8bdf0bb6342794e0d8243e86e6cc4f4962 (diff) | |
download | haskell-189efc39e0cf111bcb6d2ad5d474fcd01a706eb8.tar.gz |
Remove some redundant validity checks.
This commit also consolidates documentation in the user
manual around UndecidableSuperClasses, UndecidableInstances,
and FlexibleContexts.
Close #19186.
Close #19187.
Test case: typecheck/should_compile/T19186,
typecheck/should_fail/T19187{,a}
Diffstat (limited to 'testsuite/tests/programs')
-rw-r--r-- | testsuite/tests/programs/thurston-modular-arith/TypeVal.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/tests/programs/thurston-modular-arith/TypeVal.hs b/testsuite/tests/programs/thurston-modular-arith/TypeVal.hs index 8562d89482..0e7219cbbd 100644 --- a/testsuite/tests/programs/thurston-modular-arith/TypeVal.hs +++ b/testsuite/tests/programs/thurston-modular-arith/TypeVal.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, +{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, FlexibleContexts, UndecidableInstances, ExistentialQuantification, ScopedTypeVariables #-} @@ -86,4 +86,3 @@ instance (ValToType a) => ValToType [a] where case valToType xs of {Wrapper xs' -> case xs' of {(_::xst) -> Wrapper (undefined::CONS xt xst)}}}} - |