Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

@(λ {x}, ...) not supported #1900

Open
1 task done
digama0 opened this issue Jan 2, 2018 · 0 comments
Open
1 task done

@(λ {x}, ...) not supported #1900

digama0 opened this issue Jan 2, 2018 · 0 comments

Comments

@digama0
Copy link
Contributor

digama0 commented Jan 2, 2018

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:
    • Checked that your issue isn't already filed.
    • Reduced the issue to a self-contained, reproducible test case.

Description

It is possible to produce terms that have @ annotations on lambdas, but the parser doesn't recognize them, leading to a situation where pp.all produces printouts that are not syntactically correct.

def T : Type := by have := (λ {x : unit}, unit); exact @this ()
set_option pp.all true
#print T -- def T : Type := @(λ {x : unit}, unit) unit.star

def T' : Type := @(λ {x : unit}, unit) unit.star -- error
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant