lean4-htt/tests/compiler/expr.lean
Leonardo de Moura 9c0bd9dd41 chore: fix tests
2020-05-26 15:05:00 -07:00

10 lines
199 B
Text

import Lean.Expr
open Lean
def main : IO UInt32 :=
do
let e := mkAppN (mkConst `f) #[mkConst `a, mkConst `b];
IO.println e;
IO.println ("hash: " ++ toString e.hash);
IO.println e.getAppArgs;
pure 0