Format
This commit is contained in:
parent
67fd4e2085
commit
88321a2614
@ -1,6 +1,6 @@
|
||||
fun sortAsc (l: int list) : int list = ListMergeSort.sort (op >) l
|
||||
fun sortAsc (l : int list) : int list = ListMergeSort.sort (op >) l
|
||||
|
||||
fun sum (l: int list) : int = foldl (op +) 0 l
|
||||
fun sum (l : int list) : int = foldl (op +) 0 l
|
||||
|
||||
fun substrToInt (substr: substring) : int = valOf (Int.fromString (Substring.string substr))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user