lean4-htt/tests/lean/run/instuniv.lean
Leonardo de Moura ec71dd256f chore: fix test
2019-10-31 21:01:31 -07:00

14 lines
403 B
Text

import Init.Lean
open Lean
def tst : IO Unit :=
do env ← importModules [`Init.Data.Array.Default];
match env.find `Array.foldl with
| some info => do
IO.println (info.instantiateTypeLevelParams [Level.zero, Level.zero]);
IO.println (info.instantiateValueLevelParams [Level.zero, Level.zero]);
pure ()
| none => IO.println ("Array.foldl not found");
pure ()
#eval tst