You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jespercockx hints in agda/agda#543 that we might be able to replace some uses of irrelevance with Prop. So I have two questions,
Is Prop likely to become standard enough to use in the standard library?
Would Prop be sufficient to get the 'equalities' wanted in a library like the categories one? [Some constructions on Natural Transformations need some categories to be equal in a proof-irrelevant way, which is currently achieved using irrelevance].
I want to start the (incremental) process of moving categories into stdlib, and this is one of the blocking big-design decisions.
@nad rightfully points out that some people may not want to use all of the agda features
I guess the second point doesn't apply quite as much to your project: the use of Prop would be fairly circumscribed to that part of the library as opposed to Data.Empty which is all encompassing.
Is Prop likely to become standard enough to use in the standard library?
As @gallais says above, I think that if they are kept to the category theory portion of the library then there is no problem in using them if they turn out to be a feature that drastically simplifies the code.
Would Prop be sufficient to get the 'equalities' wanted in a library like the categories one?
From my limited understanding, yes, but I'm sure there are people more qualified to answer that one.
Activity
gallais commentedon Mar 16, 2019
Some related discussion in #645:
PropI find interestingI guess the second point doesn't apply quite as much to your project: the use of
Propwould be fairly circumscribed to that part of the library as opposed toData.Emptywhich is all encompassing.MatthewDaggitt commentedon Mar 17, 2019
As @gallais says above, I think that if they are kept to the category theory portion of the library then there is no problem in using them if they turn out to be a feature that drastically simplifies the code.
From my limited understanding, yes, but I'm sure there are people more qualified to answer that one.
MatthewDaggitt commentedon Apr 23, 2019
Closing this as I think it's been answered.