@@ -24,7 +24,7 @@ not matter and elements are chosen without replacement.
24
24
25
25
``` ts
26
26
import { assertEquals } from " https://deno.land/std/testing/asserts.ts" ;
27
- import { combinations } from " https://deno.land/x/combinatorics/combinations .ts" ;
27
+ import { combinations } from " https://deno.land/x/combinatorics/mod .ts" ;
28
28
29
29
const sequences = [... combinations (2 , [1 , 2 , 3 , 4 ])];
30
30
@@ -47,7 +47,7 @@ the length of the `iterable` is used.
47
47
<!-- deno-fmt-ignore -->
48
48
``` ts
49
49
import { assertEquals } from " https://deno.land/std/testing/asserts.ts" ;
50
- import { permutations } from " https://deno.land/x/combinatorics/permutations .ts" ;
50
+ import { permutations } from " https://deno.land/x/combinatorics/mod .ts" ;
51
51
52
52
const sequences = [... permutations (2 , [1 , 2 , 3 , 4 ])];
53
53
@@ -66,7 +66,7 @@ important and elements are chosen with replacement.
66
66
67
67
``` ts
68
68
import { assertEquals } from " https://deno.land/std/testing/asserts.ts" ;
69
- import { combinationsWithReplacement } from " https://deno.land/x/combinatorics/combinations_with_replacement .ts" ;
69
+ import { combinationsWithReplacement } from " https://deno.land/x/combinatorics/mod .ts" ;
70
70
71
71
const sequences = [... combinationsWithReplacement (2 , [1 , 2 , 3 , 4 ])];
72
72
@@ -96,7 +96,7 @@ replacement of `iterables[0]` with the given `r`.
96
96
<!-- deno-fmt-ignore -->
97
97
``` ts
98
98
import { assertEquals } from " https://deno.land/std/testing/asserts.ts" ;
99
- import { product } from " https://deno.land/x/combinatorics/product .ts" ;
99
+ import { product } from " https://deno.land/x/combinatorics/mod .ts" ;
100
100
101
101
const sequences = [... product (2 , [1 , 2 , 3 , 4 ])];
102
102
@@ -116,7 +116,7 @@ for the yielded `Array`.
116
116
<!-- deno-fmt-ignore -->
117
117
``` ts
118
118
import { assertEquals } from " https://deno.land/std/testing/asserts.ts" ;
119
- import { product } from " https://deno.land/x/combinatorics/product .ts" ;
119
+ import { product } from " https://deno.land/x/combinatorics/mod .ts" ;
120
120
121
121
const sequences = [... product (1 , [1 , 2 , 3 ], [4 , 5 , 6 ], [7 , 8 , 9 ])];
122
122
@@ -141,7 +141,7 @@ first subset is the empty set given when `r = 0`.
141
141
142
142
``` ts
143
143
import { assertEquals } from " https://deno.land/std/testing/asserts.ts" ;
144
- import { powerSet } from " https://deno.land/x/combinatorics/power_set .ts" ;
144
+ import { powerSet } from " https://deno.land/x/combinatorics/mod .ts" ;
145
145
146
146
const sequences = [... powerSet ([1 , 2 , 3 ])];
147
147
0 commit comments