lean4-htt/tests/lean/run/instuniv.lean
Leonardo de Moura a1aac9a98d chore: fix tests
2019-12-15 18:34:13 -08:00

14 lines
404 B
Text

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