8000 Preserve let-bindings when pretty-printing · Issue #7107 · agda/agda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Preserve let-bindings when pretty-printing #7107
Open
@knisht

Description

@knisht

Consider the following snippet.

data U : Set where
  u : U

test : U
test = let X = U
           a : X
           a = u
       in {!helper a!}  -- C-c C-h

Currently, the signature of helper function is helper : U → U, but it would be better to print helper : (let X = U) → X → U

Metadata

Metadata

Assignees

Labels

letIssues relating to let expressionsux: printingIssues relating to how terms are printed for display

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0