Map

Map#

Define a function mapped(f,l) that implements (eager) map. That is, mapped(f, [x, y, z]) should return [f(x), f(y), f(z)].