I want to define a function that takes 3 parameters and returns a list. The parameters will be of any type and then other two parameters are of lists of any types. This is an example...
fun func x [y] [z] = [x, y, z];
Even though the function evaluates to the proper data types, I get a match non-exhaustive warning.
In this example, I don't get the same warning...
fun func x y = (y, x);
It should be because of the lists but I'm not sure how to handle it so I don't actually see a warning.