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

14 lines
399 B
Text

import 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