diff options
author | Son Ho | 2023-07-19 14:49:03 +0200 |
---|---|---|
committer | Son Ho | 2023-07-19 14:49:03 +0200 |
commit | 985fc7b1c08eaf027ec3a7c1e7ea635f53c00d72 (patch) | |
tree | 2e02022c8dea45a80fcf8132a7998794852945a4 /backends/lean/Base | |
parent | 753907aafc2502ced0cd8c3f9bc43fb1c4b30e93 (diff) |
Cleanup more
Diffstat (limited to 'backends/lean/Base')
-rw-r--r-- | backends/lean/Base/Utils.lean | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/backends/lean/Base/Utils.lean b/backends/lean/Base/Utils.lean index acaeb26a..8aa76d8e 100644 --- a/backends/lean/Base/Utils.lean +++ b/backends/lean/Base/Utils.lean @@ -138,12 +138,9 @@ open Lean.Elab.Command private def test1 : Nat := 0 private def test2 (x : Nat) : Nat := x - print_decl test1 print_decl test2 -#check LocalDecl - def printDecls (decls : List LocalDecl) : MetaM Unit := do let decls ← decls.foldrM (λ decl msg => do pure (m!"\n{decl.toExpr} : {← inferType decl.toExpr}" ++ msg)) m!"" |