Skip to content

Add debugging helpers#101

Merged
sjakobi merged 6 commits into
haskell-prettyprinter:masterfrom
sjakobi:sjakobi/90-diag
Jan 19, 2020
Merged

Add debugging helpers#101
sjakobi merged 6 commits into
haskell-prettyprinter:masterfrom
sjakobi:sjakobi/90-diag

Conversation

@sjakobi
Copy link
Copy Markdown
Collaborator

@sjakobi sjakobi commented Nov 20, 2019

Fixes #90.

Comment thread prettyprinter/src/Data/Text/Prettyprint/Doc/Internal.hs Outdated
@sjakobi
Copy link
Copy Markdown
Collaborator Author

sjakobi commented Jan 12, 2020

If I already have to add a new module to define the Diag type, I guess I could simply keep all the related stuff there too: No need for a .hs-boot file!

@sjakobi sjakobi changed the title WIP: Add debugging helpers Add debugging helpers Jan 19, 2020
@sjakobi
Copy link
Copy Markdown
Collaborator Author

sjakobi commented Jan 19, 2020

I'm not super happy with this design, it's really a bit crude. But it's internal, and it's just for debugging, and I want to use it for my other PRs, so I'll merge it.

Maybe I (or someone else) can come up with improvements later on.

@sjakobi sjakobi merged commit 48acc36 into haskell-prettyprinter:master Jan 19, 2020
@sjakobi sjakobi deleted the sjakobi/90-diag branch January 19, 2020 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A diagnostic representation for "Doc"

1 participant