yav / pretty-show

Tools for working with derived Show instances in Haskell.
MIT License
57 stars 15 forks source link

Pretty-printing for records containing functions #14

Closed jacereda closed 7 years ago

jacereda commented 9 years ago

Records containing functions just fall back to show, this should improve the situation.

yav commented 7 years ago

Hello, I don't think the instance for showing functions really belongs to pretty-show. Note that pretty-show does not really add any Show instances for existing types---instead, it relies on the existing Show instances.

danr commented 7 years ago

Just a heads up, you can importText.Show.Function which is in base.

yav commented 7 years ago

Good point. I've just added support for to pretty-show for bits that look like , so that this works (version 1.16.13).