Derive handler for inhabited
instances #
This file introduces a derive handler to automatically generate inhabited
instances for structures and inductives. We also add various inhabited
instances for types in the core library.
@[protected, instance]
@[protected, instance]
@[protected, instance]
@[protected, instance]
@[protected, instance]
Equations
@[protected, instance]
Equations
- unsigned.inhabited = {default := 0}
@[protected, instance]
@[protected, instance]
Equations
- rbnode.inhabited = {default := rbnode.leaf α}