
Dec. 11, 2019
12:11 a.m.
On Mon, Dec 09, 2019 at 07:12:20PM -0600, Tim Peters wrote:
Part of it, but I believe it's more following prior art, like Haskell's take:
http://zvon.org/other/haskell/Outputprelude/take_f.html
In that language, the case for putting the count first is overwhelming: all functions in Haskell take a single argument, and currying is ubiquitous. [ snip details ]
Oh nice! I should remember the usefulness of currying and functools.partial when designing function signatures. -- Steven