Closed igrep closed 6 years ago
@igrep Thanks a lot for this bug report. That does look like inconsistent behavior.
I would definitely welcome any PRs fixing this! And tests to make sure it doesn't happen again would be really great too!
Also, pinging @yigitozkavci. Maybe this was something from #18?
Yes, indeed it looks like it's introduced with #18. Thanks for reporting, I'm investigating this.
I have fixed the issue, and PR is incoming after I implement the tests. Sorry for the inconvenience.
This has been fixed in #20, and uploaded to hackage as version 2.0.2.0: https://hackage.haskell.org/package/pretty-simple-2.0.2.0
pTraceShowId
(and perhaps the other functions inDebug.Pretty.Simple
) doesn't seem implemented as I (and maybe you also) expect:In GHCi,
although,
pretty-prints!
This doesn't look consistent behavior!