stefan-hoeck / idris2-elab-util

Utilities and documentation for exploring idirs2's new elaborator reflection.
BSD 2-Clause "Simplified" License
76 stars 16 forks source link

[ breaking ] Overhaul of `TypeInfo` and deriving of some interfaces #56

Closed stefan-hoeck closed 1 year ago

stefan-hoeck commented 1 year ago

With this breaking change, functionality for deriving Eq, Ord, and Show (at the least) is added, and some pain points are being fixed. This will potentially break a lot of code, so I plan to do this slowly.

Some of the breaking changes include:

The following bullet points will need to be addressed before this is being merged:

stefan-hoeck commented 1 year ago

This is now ready. @buzden feel free to tell me what parts of your own elab utilities you'd like to include here. I'll leave this open but plan to merge it tomorrow morning (Europe time), because I plan to add more (but hopefully not breaking) stuff in additional pull requests.