Fix Hackage Formatting (#134)
This commit is contained in:
@@ -147,11 +147,10 @@ putLText :: MonadIO m => TL.Text -> m ()
|
||||
|
||||
* **How do I write manual Show instances if ``show`` isn't provided?**
|
||||
|
||||
Generally speaking writing manual instances of Show is a [Haskell antipattern](
|
||||
http://www.stephendiehl.com/posts/strings.html) because it produces
|
||||
law-violating instances of Show. You probably want to use a [pretty
|
||||
printer](https://hackage.haskell.org/package/wl-pprint-text) library for custom
|
||||
printing.
|
||||
Generally speaking writing manual instances of Show is a
|
||||
[Haskell antipattern](http://www.stephendiehl.com/posts/strings.html) because it produces
|
||||
law-violating instances of Show. You probably want to use a
|
||||
[pretty printer](https://hackage.haskell.org/package/wl-pprint-text) library for custom printing.
|
||||
|
||||
If backwards compatibility is needed then the base library can be imported
|
||||
manually.
|
||||
|
||||
Reference in New Issue
Block a user