m2f

fun m2f(i: PMAction): Int