Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added pretty printer for the Grisette-introduced data types #101

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

lsrcz
Copy link
Owner

@lsrcz lsrcz commented Jul 20, 2023

This pull request added the GPretty class and provided various instances for it. Resolves #92.

A pretty printer for the symbolic types is included, which would omit the details of the formulas if they are too long.

@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Patch coverage: 31.38% and project coverage change: +0.06 🎉

Comparison is base (e870bc1) 31.75% compared to head (0dab0e7) 31.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   31.75%   31.81%   +0.06%     
==========================================
  Files          49       50       +1     
  Lines        5246     5434     +188     
  Branches      273      322      +49     
==========================================
+ Hits         1666     1729      +63     
- Misses       3307     3383      +76     
- Partials      273      322      +49     
Impacted Files Coverage Δ
src/Grisette/Core/Control/Monad/UnionM.hs 10.52% <0.00%> (-0.21%) ⬇️
src/Grisette/Core/Data/Union.hs 39.81% <0.00%> (-4.52%) ⬇️
src/Grisette/IR/SymPrim/Data/SymPrim.hs 21.41% <0.00%> (-0.43%) ⬇️
src/Grisette/Core/Data/Class/GPretty.hs 32.25% <32.25%> (ø)
...Grisette/IR/SymPrim/Data/Prim/InternedTerm/Term.hs 51.37% <90.00%> (+1.50%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@lsrcz lsrcz merged commit 7abee88 into main Jul 20, 2023
35 of 36 checks passed
@lsrcz lsrcz deleted the feat-pretty-printer branch February 17, 2024 03:55
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.

Implement pretty printer for Grisette-introduced types
1 participant