Function permutations

Compute the number of permutations of objects types of items when considered taken at a time, where order is considered

ulong permutations (
  ulong objects,
  ulong taken
) nothrow @safe;

Example

assert(10.P(2) == 90);