You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to start a discussion about a possible show instance for Html. I think it would be nice for debugging and interactive programming in ghci...
The text was updated successfully, but these errors were encountered:
Right. The problem is that the straightforward instance (dumping the tree with the constructors) would not be very readable at all (but perhaps useful for debugging).
I usually just use Text.Blaze.Html.Renderer.Pretty.renderHtml in GHCi. I would reckon that would also make a better Show instance... this requires moving a lot of code around to avoid orphans though.
Just wanted to start a discussion about a possible show instance for Html. I think it would be nice for debugging and interactive programming in ghci...
The text was updated successfully, but these errors were encountered: