What's label currying in Prometheus?

Viewed 571

In Prometheus, there's label currying. Some example methods are like CurryWith().

What's the meaning of it? Sorry I didn't find any documentation for this.

Problem might be related to that English is not my native language, and I don't understand curry from the function name.

Thanks!

2 Answers

In mathematics and computer science, currying is the technique of converting a function that takes multiple arguments into a sequence of functions that each takes a single argument.

From: https://en.wikipedia.org/wiki/Currying

Related