A curried map function that works with Functors