-
Notifications
You must be signed in to change notification settings - Fork 260
Bikeshedding #1326: what to do about _⇒_ and ∀[_] on SizedType #1335
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
Conversation
The nested module is not in style with the std-lib, and exporting these short definitions on top-level creates unpleasant clashes with Relation.Unary. Thus, one solution is to remove the offending definitions and wait whether they will grow back naturally.
I think both of them would go |
Hmm except that I'm not even sure what a "sized predicate" definition would look like. Something like? Pred : ∀ {a} → SizedType a → (ℓ : Level) → SizedType (a ⊔ suc ℓ)
Pred A ℓ i = A i → Set ℓ
_⇒_ : Pred A ℓ₁ → Pred A ℓ₂ → Pred A _
P ⇒ Q = λ x i → P (x i) → Q (x i)Although now I think about it, isn't all this just a special case of |
|
It literally is a replacement for |
Hmm yes, you're right. I'm getting confused somewhere. Thanks for bearing with me and pointing that out. Okay I'm happy for them to go in |
|
I've implemented the discussed change. The one difference was that I've moved it to
|
|
Should |
Maybe, but isn't the long term plan for Agda to move from |
By the time we get to version 3 maybe? |
|
Let's stay consistent with the current version of Agda. When and if Agda 3 rolls around, I'm sure deprecating |
One proposal in continuation of #1326: remove
_⇒_and∀[_]onSizedTypeSee discussion around #1326 (comment).
The nested module is not in style with the
std-lib, and exporting these short definitions on top-level creates unpleasant clashes withRelation.Unary.Thus, one solution is to remove the offending definitions and wait whether they will grow back naturally.
@MatthewDaggitt suggested instead: