computational-combinatorics/set-partition

View on GitHub
src/_count.js

Summary

Maintainability
A
0 mins
Test Coverage
import {nth} from '@iterable-iterator/select';

import _sequence from './_sequence.js';

const _count = (init, k) => nth(_sequence(init), k);
export default _count;