Special treatment of attribute followed by underscore in pretty-printer #6281
Labels
modalities
type: bug
Issues and pull requests about actual bugs
ux: display
Issues relating to how terms are printed for display
ux: printing
Issues relating to how terms are printed for display
Milestone
Why is the following code used to print things with certain attributes?
agda/src/full/Agda/Syntax/Concrete/Pretty.hs
Lines 82 to 95 in fc4e2fa
I think this code is based on code for irrelevance added by @andreasabel back in 2010 in a commit (8fd48ca) with the following commit message:
I'm guessing that the original motivation no longer applies, and I doubt that this motivation ever applied for
@0
. Furthermore it might be inefficient to callrender d
in this way (depending on how lazyrender
is). Could the special treatment of"_"
be removed?The text was updated successfully, but these errors were encountered: