10 lines
199 B
Text
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
|