cdepillabout / pretty-simple

pretty-printer for Haskell data types that have a Show instance
https://hackage.haskell.org/package/pretty-simple
BSD 3-Clause "New" or "Revised" License
243 stars 29 forks source link

Added warnings for deprecation #103

Closed chaughawout closed 2 years ago

chaughawout commented 2 years ago

101

Straightforward. Implemented like protolude has implemented, but could use the DEPRECATED pragma instead. Let's discuss.

chaughawout commented 2 years ago

I don't do much haskell development, so if there's anything style wise or additional things to consider here, please let me know. It seems straightforward enough.

georgefst commented 2 years ago

Looks good, thanks!

I had just assumed that protolude was using the DEPRECATED pragma since it shows up as a warning under -Wdeprecations. This way is better.