evhub / coconut

Simple, elegant, Pythonic functional programming.
http://coconut-lang.org
Apache License 2.0
4.04k stars 120 forks source link

Match keyword argument name elision syntax to whatever is adopted in Python #811

Closed evhub closed 4 months ago

evhub commented 9 months ago

Current Coconut syntax: https://coconut.readthedocs.io/en/latest/DOCS.html#keyword-argument-name-elision

Discussion of possible new Python syntax: https://discuss.python.org/t/syntactic-sugar-to-encourage-use-of-named-arguments/36217/131

Coconut syntax should be deprecated in favor of whatever Python adopts.

evhub commented 7 months ago

PEP: https://peps.python.org/pep-0736/

~Though I'm going to wait on this until there's a final verdict here; I like Coconut's syntax better, so if the PEP is rejected then we'll just stick with the current syntax.~

evhub commented 4 months ago

The old syntax has been deprecated in favor of the PEP 736 one as of coconut-develop>=3.1.0-post_dev10.