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

Fix missing space for string literal #33

Closed andrew-lei closed 6 years ago

andrew-lei commented 6 years ago

Fixes #14.

cdepillabout commented 6 years ago

This is really great! Thanks!

Would you be able to add a test for this? There are some doctests at the bottom of Text.Pretty.Simple.hs. Could you add a doctest displaying your fix?

You could just add a new section entitled something like __Other__, and then a short description of what you're testing.

andrew-lei commented 6 years ago

Excuse my accidental reversions... Whoops.

cdepillabout commented 6 years ago

I cleaned this up a bit and merged it in as commit 57fd822ffe49f5a.

Thanks again!