vty/test
Jonathan Daugherty f8f45c2af5 Remove Monoid and Semigroup instances for Attr and MaybeDefault (relevant to brick/#351)
This change removes the aforementioned instances because they were
misbehaved; merging Attr and MaybeDefault values with these instances
resulted in field value losses. For example, before this change,

  (defAttr `withForeColor` blue) <> (defAttr `withBackColor` green)

would result in just

  (defAttr `withBackColor` green)

because the instances were designed to favor the right-hand arguments'
fields even if they had not been explicitly set (a consequence of the
MaybeDefault Semigroup instance). While that behavior was sensible
specifically in the context of Graphics.Vty.Inline, it wasn't a useful
user-facing API and it made for surprising instance behavior. Since
there is actually no good way to handle this in a Semigroup instance for
Attr -- some choices have to be made about how to merge two attributes'
foreground colors, and that won't be much better than what we had -- the
instance was just removed. I suspect that the risk of this impacting
users negatively is very low, given that the instance behavior was not
very useful.
2021-11-23 15:41:02 -08:00
..
Verify spelling cleanup: effected -> affected 2018-11-28 11:40:30 -08:00
BenchImageFuzz.hs Update example programs to use new default values 2017-01-24 11:46:14 -08:00
benchmark.hs refactor vty to use standard naming convention. 2014-04-11 17:51:13 -07:00
BenchNoDiffOpt.hs Update example programs to use new default values 2017-01-24 11:46:14 -08:00
BenchRenderChar.hs Update example programs to use new default values 2017-01-24 11:46:14 -08:00
BenchVerticalScroll.hs Update example programs to use new default values 2017-01-24 11:46:14 -08:00
ControlTable.hs Library-wide trailing whitespace cleanup 2017-01-21 22:21:58 -08:00
current_benchmark_results.txt clarify benchmark results tables 2014-02-02 02:21:31 -08:00
EventEcho.hs Update example programs to use new default values 2017-01-24 11:46:14 -08:00
HereDoc.hs Library-wide export list cleanup 2017-01-22 09:22:15 -08:00
interactive_terminal_test.hs Update example programs to use new default values 2017-01-24 11:46:14 -08:00
Issue18.hs Library-wide export list cleanup 2017-01-22 09:22:15 -08:00
Issue76.hs Add sample for #76. 2015-08-08 17:27:14 -07:00
LICENSE Fix .cabal files 2016-03-12 00:56:20 +01:00
Makefile Library-wide trailing whitespace cleanup 2017-01-21 22:21:58 -08:00
MinimalExample.hs Update example programs to use new default values 2017-01-24 11:46:14 -08:00
Rogue.hs Rogue: Remove unused language extension, TemplateHaskell 2017-03-04 11:14:11 -08:00
Setup.lhs Update CHANGELOG. Bump version to 5.5.0 2016-05-10 18:26:13 -07:00
Test2.hs Library-wide export list cleanup 2017-01-22 09:22:15 -08:00
Verify.hs Package: discontinue support for GHC < 7.10.1 2017-01-22 11:05:06 -08:00
VerifyColor240.hs added test to check equivalence with the old implementation 2021-02-16 22:21:00 +01:00
VerifyConfig.hs API: remove dependency on data-default 2017-01-22 12:00:55 -08:00
VerifyCropSpanGeneration.hs Library-wide trailing whitespace cleanup 2017-01-21 22:21:58 -08:00
VerifyDisplayAttributes.hs convert verify_display_attributes to detailed-0.9 test suite 2012-10-07 18:33:02 -07:00
VerifyEmptyImageProps.hs Update test programs to respect new import requirements 2017-01-22 10:18:28 -08:00
VerifyEvalTerminfoCaps.hs Library-wide long haddock line cleanup 2017-01-21 22:54:37 -08:00
VerifyImageOps.hs Library-wide trailing whitespace cleanup 2017-01-21 22:21:58 -08:00
VerifyImageTrans.hs Library-wide trailing whitespace cleanup 2017-01-21 22:21:58 -08:00
VerifyInline.hs more naming convention updates 2014-04-11 20:54:00 -07:00
VerifyLayersSpanGeneration.hs Update test programs to respect new import requirements 2017-01-22 10:18:28 -08:00
VerifyOutput.hs Removed commented out import System.Posix.Env 2019-02-23 10:20:10 +01:00
VerifyParseTerminfoCaps.hs Library-wide trailing whitespace cleanup 2017-01-21 22:21:58 -08:00
VerifySimpleSpanGeneration.hs spelling cleanup: effected -> affected 2018-11-28 11:40:30 -08:00
VerifyUsingMockInput.hs API: remove dependency on data-default 2017-01-22 12:00:55 -08:00
VerifyUsingMockTerminal.hs Update test programs to respect new import requirements 2017-01-22 10:18:28 -08:00
VerifyUtf8Width.hs Update test programs to respect new import requirements 2017-01-22 10:18:28 -08:00
vty_inline_example.hs refactor vty to use standard naming convention. 2014-04-11 17:51:13 -07:00
vty-examples.cabal Bump vty and vty-examples versions 2017-01-24 11:35:32 -08:00
YiIssue264.hs Library-wide export list cleanup 2017-01-22 09:22:15 -08:00