Skip to content

Problem with DISPLAY pragma for in Data.Empty #2493

Open
@jamesmckinna

Description

@jamesmckinna

Agda issue#7533 and its 'resolution'/explanation via Agda issue#2004 suggests that perhaps we should rethink our approach to how to deal lexically with the token (for output as well as input)? Or else (at least!) document that Data.Irrelevant should be approached with caution...

Sadly, syntax declarations are subject to the same, or similar, effects, so attempting to write

syntax Irrelevant Empty =

is both ill-formed (the 'hole' Empty is never used), and useless (Empty is not correctly interpreted as a already-defined term).

Perhaps a solution is simply to remove the DISPLAY pragma altogether?
UPDATED: NB. this is the only use of the pragma in stdlib!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstatus: blocked-by-issueProgress on this issue or PR is blocked by another issue.upstreamChanges induced by Agda upstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions