Most viewed recipes tagged "curry"http://code.activestate.com/recipes/tags/curry/views/2011-10-28T22:05:55-07:00ActiveState Code Recipesindefinite currying decorator with greedy call and up front args checking (Python)
2011-10-28T22:05:55-07:00Przemyslaw Podczasihttp://code.activestate.com/recipes/users/4179716/http://code.activestate.com/recipes/577928-indefinite-currying-decorator-with-greedy-call-and/
<p style="color: grey">
Python
recipe 577928
by <a href="/recipes/users/4179716/">Przemyslaw Podczasi</a>
(<a href="/recipes/tags/curry/">curry</a>, <a href="/recipes/tags/decorator/">decorator</a>, <a href="/recipes/tags/functional/">functional</a>).
Revision 2.
</p>
<p>Decorator makes function currying as long as there are more correct arguments to take and fires it as soon as there is enough to call, also checks arguments up front for errors.</p>