Skip to content

Commit

Permalink
🚚 refactor: Rename low-level generator to _multicombinations.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Feb 8, 2024
1 parent 416347d commit 133382b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_multicombinations.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {nrepeat} from '@iterable-iterator/repeat';
* @param {number} r
* @returns {IterableIterator<number[]>}
*/
export default function* multicombinations(n, r) {
export default function* _multicombinations(n, r) {
if (n === 0 && r > 0) return;

const indices = list(nrepeat(0, r));
Expand Down

0 comments on commit 133382b

Please sign in to comment.