lean4-htt/tests/pkg/misc/Misc.lean
2023-01-04 09:01:02 -08:00

15 lines
415 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Misc.Foo
import Misc.Boo
import Lean
open Lean Meta
#eval id (α := MetaM Unit) do
assert! (← getEnv).getModuleIdxFor? ``foo == (← getEnv).getModuleIdxFor? `auxDecl1
IO.println <| (← getEnv).getModuleIdxFor? ``Lean.Environment
IO.println <| (← getEnv).getModuleIdxFor? ``foo
IO.println <| (← getEnv).getModuleIdxFor? `auxDecl1
IO.println "worked"
set_option pp.all true
#check f 10 10