On Sat, 7 Aug 2004 22:36:59 +1000, Andrew Durdin <adurdin at gmail.com> wrote: > # using curry as proposed in PEP 309 [**] > @foo_decorator > @curry(bar_decorator, "one param here") And that really should have been: # using rightcurry as mentioned in PEP 309 [**] @foo_decorator @rightcurry(bar_decorator, "one param here") But that's not a primary issue. The primary issues were: (1) That decorators with vs. without arguments look inconsistent, like function calls vs. function references, and (2) that consequentially, decorator syntax is implicitly introducing a non-viable currying syntax.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4