Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and cmcmA20 committed Oct 11, 2024
1 parent 7c50e7e commit d35dde9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Order/Constructions/Nat.agda
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Suc : ℕₚ ⇒ ℕₚ
Suc .hom = suc
Suc .pres-≤ = s≤s

-- NB avoid using it in computational code
compare-nat : (m n : ℕ) (m ≤ n) ⊎ (m ≥ n)
compare-nat 0 _ = inl z≤
compare-nat (suc m) 0 = inr z≤
Expand Down

0 comments on commit d35dde9

Please sign in to comment.