-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should flat be off by default? #4927
Comments
We have discussed this before. I am not opposed to a flag. |
You need special syntax for it, and it doesn't add to the power of the type system unless you postulate things. |
The same is true for |
I thought |
Irrelevance itself does not need a flag btw, and it's not something you have in plain MLTT. |
I would not mind having a flag for irrelevance as well. In order to make it easier to fix broken code I suggest that we do not add such flags until #3118 has been implemented. |
I would say we should have flags for every addon features. |
It is now implemented, so go nuts with adding more flags I guess ;) |
I noticed that the type agda/src/full/Agda/Syntax/Common.hs Lines 1338 to 1345 in bd2afa1
Should the flag for turning off this modality be called @plt-amy suggested that one could refuse to parse agda/src/full/Agda/Syntax/Concrete/Attribute.hs Lines 90 to 94 in bd2afa1
The default seems to be agda/src/full/Agda/Syntax/Common.hs Lines 1493 to 1495 in bd2afa1
agda/src/full/Agda/Syntax/Common.hs Lines 1501 to 1503 in bd2afa1
Can one guarantee that agda/src/full/Agda/Syntax/Common.hs Lines 1489 to 1491 in bd2afa1
agda/src/full/Agda/Syntax/Common.hs Lines 500 to 502 in bd2afa1
|
I added |
Well, aiui Squash is just what Continuous becomes when we go into a Flat context, right? Are there any other cases where we apply zeroModality to the context? |
it is strange to me that flat is on by default. I always think of Agda's type system as something around MLTT but the flat modality itself seems kicking it off the range. I am wondering why flat is on by default? I would expect a special option to turn it on as it is an addon feature.
The text was updated successfully, but these errors were encountered: