Suponga la siguiente declaración
let rec g = function
| [] -> []
| (x,y) :: s -> (x,y) :: (y,x) :: gs
¿Cuál es la evaluación de g[(1,2);(2,3),(3,4);(4,5)]?
Select one of the following:
-
[(1,2),(2,1);(2,3);(3,2);(3,4)....]
-
[(1,1),(2,2);(3,3);(3,3);(4,4)....]
-
-
-
error FS0001: This expression was expectated to have type..