11 lines
191 B
Text
11 lines
191 B
Text
structure A where
|
|
f : Nat → Nat → Nat
|
|
|
|
structure B extends A where
|
|
f (a b : Nat) := 10
|
|
|
|
structure C extends A where
|
|
f a b := 0
|
|
|
|
structure D extends A where
|
|
f a b := true -- error
|