lean4-htt/tests/lean/run/instances.lean
Leonardo de Moura 17b6957f6c chore: fix tests
2020-05-26 15:05:01 -07:00

12 lines
239 B
Text

import Lean
open Lean
open Lean.Meta
def tst1 : IO Unit :=
do let mods := [`Lean];
env ← importModules $ mods.map $ fun m => {module := m};
let insts := env.getGlobalInstances;
IO.println (format insts);
pure ()
#eval tst1