Consider the definition
fun f [] = 0 | f (x::L) = (f L) - x + 1;What is the result of f [0,1,2]; ? (only one answer, please)
val (x,y) = ([1],[[1]]); val (x,y) = (y,x);
fun papp (x::nil) L = L | papp (x::K) L = x::(papp K L);For each of the following expressions, say what is the result, or say whether it's an error.