Hacker News new | ask | show | jobs
by runevault 1255 days ago
Once you know what map does with an option I'd say it is mostly pretty readable. Basically map (when run against an Option value) is a way to say "if the value passed in has a value run this function on it otherwise return None.