Miscellany
public text v1 · immutablelocal
fun getLast [x] = x
| getLast (x::xs) = getLast xs
in
fun ineffMul [] = 0
I ineffMul (xr as x::xs) = getLast xr + ineffMul xs
end;local
fun getLast [x] = x
| getLast (x::xs) = getLast xs
in
fun ineffMul [] = 0
I ineffMul (xr as x::xs) = getLast xr + ineffMul xs
end;