Datatype-Generic Programming Meets Elaborator Reflection
summary
Claims a practical framework that uses elaborator reflection in Agda to turn datatype-generic descriptions into real, native datatypes and functions. Implements macros like genDataD plus a proof interface for mapping description to datatype, generates concrete definitions such as lookupAny by automated case-splitting and then normalizes them into readable, computable code. Prototype works on several examples and ships artifacts, but coverage, ergonomics and macro correctness remain incomplete.
AI-written summary · about
