-
Notifications
You must be signed in to change notification settings - Fork 256
Description
As pointed out by @jamesmckinna when trying to update PFLA to use v1.7 of the library (analysis below is his), currently you can't use ¬_
from Relation.Nullary
and ∃[ A ] B
syntax (i.e. ∃-syntax
) from Data.Product
without bracketing because the precedences are the wrong way around:
agda-stdlib/src/Relation/Nullary.agda
Line 23 in ed8efad
infix 3 ¬_ |
agda-stdlib/src/Data/Product.agda
Line 78 in ed8efad
infix 2 ∃-syntax |
So you can't write ¬ ∃[ A ] B
. The reason that it broke from v1.3 to v1.7 is that the fixity of the ∃-syntax
was first added by @Taneb in a0b06ba
So it looks like we need to switch the precedences somehow (Σ-syntax
included). Anyone have any thoughts? We should probably have a look at what else has precedences in at the 2/3/4 level...