summaryrefslogtreecommitdiff
path: root/backends/lean/Base
diff options
context:
space:
mode:
authorSon Ho2023-07-19 14:49:03 +0200
committerSon Ho2023-07-19 14:49:03 +0200
commit985fc7b1c08eaf027ec3a7c1e7ea635f53c00d72 (patch)
tree2e02022c8dea45a80fcf8132a7998794852945a4 /backends/lean/Base
parent753907aafc2502ced0cd8c3f9bc43fb1c4b30e93 (diff)
Cleanup more
Diffstat (limited to 'backends/lean/Base')
-rw-r--r--backends/lean/Base/Utils.lean3
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!""