blob: 790677c0962626ea26544315e84eab167bd020c8 [file] [edit]
inductive T
| t : T
@[reducible] def T.eval : T → Type
| T.t => Int
def T.default (τ : T) : τ.eval :=
match τ, τ.eval with
| T.t, .(Int) => (0 : Int)