mapF function not compiling

what's the exact error the compiler throws at you? (copy & paste it here using code tags)