Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
41ed5ddf577c68be01ac784ac92fb6aebca81844
/
.
/
tests
/
lean
/
evalCmd.lean
blob: 84d87aed297ac8281858e349e51423f1b6730317 [
file
]
import
Lean
open
Lean
Elab
Command
#eval do
let
id
:=
mkIdent
`foo
elabCommand (← `
(
def
$id
:=
10
))
example
:
foo
=
10
:=
rfl
#eval do
let
id
:=
mkIdent
`boo
elabCommand (← `
(
def
$id
:=
false
))
return
5
example
:
boo
=
false
:=
rfl