From 3d742e11a43e873e99bd371ec13c55b212f80ee6 Mon Sep 17 00:00:00 2001 From: Jonathan Protzenko Date: Wed, 25 Jan 2023 14:21:04 -0800 Subject: Fix a couple bugs here and there, improve Lean code-gen, still WIP --- backends/lean/primitives.lean | 1 + 1 file changed, 1 insertion(+) (limited to 'backends') diff --git a/backends/lean/primitives.lean b/backends/lean/primitives.lean index 9e72b708..09ece14e 100644 --- a/backends/lean/primitives.lean +++ b/backends/lean/primitives.lean @@ -100,6 +100,7 @@ def USize.checked_sub (n: USize) (m: USize): result USize := fail integerOverflow -- TODO: settle the style for usize_sub before we write these +def USize.checked_add (n: USize) (m: USize): result USize := sorry def USize.checked_mul (n: USize) (m: USize): result USize := sorry def USize.checked_div (n: USize) (m: USize): result USize := sorry -- cgit v1.2.3