Hacker News new | ask | show | jobs
by mattnewton 3426 days ago
Not a type safe one that works on your own types.
1 comments

You can't define a polymorphic function map, but you definitely could definitely define a map method for your own monomorphic container type.