UlfNorell / agda-test

Agda test
0 stars 0 forks source link

extended lambdas pretty-printing problem #898

Closed UlfNorell closed 10 years ago

UlfNorell commented 10 years ago

From sanzhi...@gmail.com on September 08, 2013 06:39:34

id : {A : Set} -> A -> A id = { λ { {A} x → x} }0 -- refining the above gives
-- λ {A x → x}
-- instead of
-- λ { {A} x → x}

I've attached a patch that fixes this, keeping the Hiding information that was lost in the translation to Concrete syntax and ensuring we get a space between "λ {" and "{A}".

Attachment: fix-printing-of-extended-lambdas-starting-with-an-hidden-argument.dpatch

Original issue: http://code.google.com/p/agda/issues/detail?id=898

UlfNorell commented 10 years ago

From nils.anders.danielsson on September 17, 2013 02:41:58

Applied.

Status: Fixed

UlfNorell commented 10 years ago

From andres.s...@gmail.com on November 11, 2013 06:26:51

Labels: Type-Defect