I am new to ML, and wanted to use case expressions and pattern matching in the following way.
fun myFun(a,b) = myFun(a,b,[])
| myFun(a,b,c) = (*do something here*)
| myFun(a,b,d) = (*do something here as well*);
so is it possible to have different number of parameters as given in this example?
Thanks.