Add map() and flatmap()

As discussed in #11.
Xcode recognizes `\c` but not `/c`. (I think I made this mistake elsewhere as well but don’t worry about those—just these two :smile: )