This commit is contained in:
2025-12-09 09:06:50 -08:00
parent 55e9476607
commit c2537f08b0
3 changed files with 106 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ import Prelude
nums' : String String List Int
nums' by s = map stringToInt $ filter (_/=_ "") $ split (trim s) by
min : a. {{Ord a}} a a a
min x y = if x < y then x else y
max : a. {{Ord a}} a a a
max a b = if a < b then b else a