itertools.starmap()
  • References/Python/Python/Functional Programming

itertools.starmap(function, iterable) Make an iterator that computes the function using arguments obtained from the iterable

2025-01-10 15:47:30
operator.lshift()
  • References/Python/Python/Functional Programming

operator.lshift(a, b) operator.__lshift__(a, b) Return a shifted left by b.

2025-01-10 15:47:30
functools.singledispatch()
  • References/Python/Python/Functional Programming

@functools.singledispatch(default) Transforms a function into a single-dispatch

2025-01-10 15:47:30
functools.reduce()
  • References/Python/Python/Functional Programming

functools.reduce(function, iterable[, initializer]) Apply function of two arguments cumulatively to the items of sequence

2025-01-10 15:47:30
functools.partialmethod
  • References/Python/Python/Functional Programming

class functools.partialmethod(func, *args, **keywords) Return a new partialmethod descriptor which behaves like

2025-01-10 15:47:30
itertools.accumulate()
  • References/Python/Python/Functional Programming

itertools.accumulate(iterable[, func]) Make an iterator that returns accumulated sums, or accumulated results of other binary

2025-01-10 15:47:30
operator.mul()
  • References/Python/Python/Functional Programming

operator.mul(a, b) operator.__mul__(a, b) Return a * b, for a and b numbers.

2025-01-10 15:47:30
operator.sub()
  • References/Python/Python/Functional Programming

operator.sub(a, b) operator.__sub__(a, b) Return a - b.

2025-01-10 15:47:30
operator.ge()
  • References/Python/Python/Functional Programming

operator.ge(a, b) operator.gt(a, b) operator.__lt__(a, b) operator

2025-01-10 15:47:30
itertools.combinations()
  • References/Python/Python/Functional Programming

itertools.combinations(iterable, r) Return r length subsequences of elements from the input iterable.

2025-01-10 15:47:30