diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2019-12-08 11:47:58 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2019-12-08 12:08:16 +0100 |
commit | ee05ff1ecde866e31f72e3fa4f773dca98944dc3 (patch) | |
tree | fbec72f1cb8707903b872ab6bd7a0f81c4850839 /haddock-api/src/Haddock/Interface/ParseModuleHeader.hs | |
parent | e6ca100973c496cd98da3385594fa9a81320f7cb (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-api/src/Haddock/Interface/ParseModuleHeader.hs')
0 files changed, 0 insertions, 0 deletions