This commit is contained in:
2025-12-06 22:32:44 -08:00
parent 5bd3572ba4
commit a9c588be76
5 changed files with 94 additions and 5 deletions

View File

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