Composes current container with a pure function.
(self, function)
| 417 | return self._inner_value |
| 418 | |
| 419 | def map(self, function): |
| 420 | """Composes current container with a pure function.""" |
| 421 | return Some(function(self._inner_value)) |
| 422 | |
| 423 | def apply(self, container): |
| 424 | """Calls a wrapped function in a container on this container.""" |