Fix Hackage Formatting (#134)

This commit is contained in:
Adam Wespiser
2022-02-28 23:34:03 -05:00
committed by GitHub
parent f8cf1375d5
commit 3611929f01
+4 -5
View File
@@ -147,11 +147,10 @@ putLText :: MonadIO m => TL.Text -> m ()
* **How do I write manual Show instances if ``show`` isn't provided?** * **How do I write manual Show instances if ``show`` isn't provided?**
Generally speaking writing manual instances of Show is a [Haskell antipattern]( Generally speaking writing manual instances of Show is a
http://www.stephendiehl.com/posts/strings.html) because it produces [Haskell antipattern](http://www.stephendiehl.com/posts/strings.html) because it produces
law-violating instances of Show. You probably want to use a [pretty law-violating instances of Show. You probably want to use a
printer](https://hackage.haskell.org/package/wl-pprint-text) library for custom [pretty printer](https://hackage.haskell.org/package/wl-pprint-text) library for custom printing.
printing.
If backwards compatibility is needed then the base library can be imported If backwards compatibility is needed then the base library can be imported
manually. manually.