Here’s how a function could be defined:
min x y = if x < y then x else y
Here’s how the above function could be used:
min 0 1