RyanGlScott / eliminators

Dependently typed elimination functions using singletons
BSD 3-Clause "New" or "Revised" License
27 stars 0 forks source link

Should we bother generating eliminators with predicates of kind (<Datatype> -> Type)? #2

Closed RyanGlScott closed 7 years ago

RyanGlScott commented 7 years ago

Currently, I generate eliminators with predicates of two different kinds, <Datatype> -> Type and <Datatype> ~> Type, and I also have a story for eliminators that are polymorphic over the arrow kind used. However, I'm questioning whether all of this is worth it, since:

Perhaps we should only generate eliminators of kind <Datatype> ~> Type.

RyanGlScott commented 7 years ago

I've decided to just go with predicates using ~> from now on. Implemented in 1f6e9302db627931173122049cc85e8b00c1813b.