Using a standard library module with constraints (map function)