RosettaCodeData/Task/Integer-comparison/Standard-ML/integer-comparison-2.ml
2023-07-01 13:44:08 -04:00

4 lines
191 B
Standard ML

fun myCompare (a, b) = case Int.compare (a, b) of
LESS => "A is less than B"
| GREATER => "A is greater than B"
| EQUAL => "A equals B"