aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/CompatPrelude.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2019-12-08 11:47:58 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2019-12-08 12:08:16 +0100
commitee05ff1ecde866e31f72e3fa4f773dca98944dc3 (patch)
treefbec72f1cb8707903b872ab6bd7a0f81c4850839 /haddock-library/src/CompatPrelude.hs
parente6ca100973c496cd98da3385594fa9a81320f7cb (diff)
Document error-prone conditional definition of instances
This can easily trip up people if one isn't aware of it. Usually it's better to avoid this kind of conditionality especially for typeclasses for which there's an compat-package as conditional instances like these tend to fragment the ecosystem into those packages that go the extra mile to provide backward compat via those compat-packages and those that fail to do so.
Diffstat (limited to 'haddock-library/src/CompatPrelude.hs')
0 files changed, 0 insertions, 0 deletions