On Mon, Jul 23, 2018 at 2:12 PM Rhodri James <[email protected]> wrote:
> > How are you supposed to do method calling, the equivalent of > "foo?.bar()" ? "NoneAware(foo).bar.unbox()()" looks downright weird. > Is there more magic in NoneAware to cover this case? (Not that I think > we should be encouraging people to do this, but...) > > In PyMaybe, you would do this: maybe(foo).bar().or_else(None)
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
