Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/replace
/
.
/
tests
/
lean
/
evalCmd.lean
blob: 84d87aed297ac8281858e349e51423f1b6730317 [
file
] [
edit
]
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