Single arg pattern matching with the fun operator
Reasonml has pattern matching in specific syntaxes and one of those syntaxes is the fun
operator which helps you define multiple patterns for single argument functions.
when called:
This doesn't work for multiple arguments however, so when you see something like this:
just remember that the single argument in this case is a tuple, called like this add((1, 3))
.