Author steven.daprano
Recipients FR4NKESTI3N, josh.r, kellerfuchs, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano, tim.peters
Date 2019-01-28.22:35:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
Sorry for the late reply, I missed Tim's comment when it first came 

> Please resist pointless feature creep. The original report was about 
> comb(n, k) for integer n and k with 0 <= k <= n and that's all.  
> Everyone who commented appeared to agree they'd find that useful.
> But nobody has said [...] that they'd find perm(n, k) USEFUL.

I'm not going to argue for binomial coefficients with negative n, but I 
find it hard to imagine anyone needing combinations without also needing 
permutations, and I didn't think it was necessary to explicitly say so.

But since you insist, I'll say so: I would find it useful to have a 
function to compute the number of permutations of n taking k at a time.

My perspective may be biased from my experience with secondary school 
maths, where they are taught together, but providing one without the 
other strikes me as weird as providing tan without sin and cos.

There are other functions from combinatorics which I personally use, 
like derangements, but I know when I'm pushing my luck :-)
Date User Action Args
2019-01-28 22:35:25steven.dapranosetrecipients: + steven.daprano, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, josh.r, kellerfuchs, FR4NKESTI3N
2019-01-28 22:35:23steven.dapranolinkissue35431 messages
2019-01-28 22:35:23steven.dapranocreate