Hi

Please forgive me if it's not already been considered. Is the following
valid syntax, and if so what's the semantics? Here it is:

    def puzzle(*, a=>b+1, b=>a+1):
        return a, b

Aside: In a functional programming language
    a = b + 1
    b = a + 1
would be a syntax (or at least compile time) error.

-- 
Jonathan
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/3WHUCMGLKATS3NF7F2LAXIWQUUZ732CK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to