Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
pkg
/
deriving
/
UserDeriving
/
Tst.lean
blob: b185b1c061dcfb373d6bc862f9dbeaeae03aa218 [
file
]
import
UserDeriving
.
Simple
inductive
Foo
where
|
mk
₁
|
mk
₂
deriving
Simple
,
Inhabited
/-
Creates
`Foo.test`
,
and
then
runs builtin handler
.
-/
example
:
Foo
.
test
=
0
:=
by
rfl