|
1 | 1 | ### Roadmap
|
2 | 2 |
|
3 |
| -- [ ] chainable methods |
4 |
| - - [ ] string |
| 3 | +- [x] chainable methods |
| 4 | + - [x] string |
5 | 5 | - [x] `P.string.includes('str')`
|
6 | 6 | - [x] `P.string.startsWith('str')`
|
7 | 7 | - [x] `P.string.endsWith('str')`
|
8 |
| - - [ ] `P.string.regex('[a-z]+')` |
9 |
| - - [ ] numbers |
10 |
| - - [ ] `P.number.between(1, 10)` |
11 |
| - - [ ] `P.number.lt(12)` |
12 |
| - - [ ] `P.number.gt(12)` |
13 |
| - - [ ] `P.number.gte(12)` |
14 |
| - - [ ] `P.number.lte(12)` |
15 |
| - - [ ] `P.number.int(12)` |
16 |
| - - [ ] `P.number.finite` |
17 |
| - - [ ] `P.number.positive` |
18 |
| - - [ ] `P.number.negative` |
19 |
| - - [ ] all |
20 |
| - - [ ] `P.number.optional` |
21 |
| - - [ ] `P.string.optional` |
22 |
| - - [ ] `P.number.select()` |
23 |
| - - [ ] `P.string.select()` |
24 |
| - - [ ] `P.number.optional.select()` |
25 |
| - - [ ] `P.string.optional.select()` |
| 8 | + - [x] `P.string.regex('[a-z]+')` |
| 9 | + - [x] numbers |
| 10 | + - [x] `P.number.between(1, 10)` |
| 11 | + - [x] `P.number.lt(12)` |
| 12 | + - [x] `P.number.gt(12)` |
| 13 | + - [x] `P.number.gte(12)` |
| 14 | + - [x] `P.number.lte(12)` |
| 15 | + - [x] `P.number.int(12)` |
| 16 | + - [x] `P.number.finite` |
| 17 | + - [x] `P.number.positive` |
| 18 | + - [x] `P.number.negative` |
| 19 | + - [x] all |
| 20 | + - [x] `P.number.optional` |
| 21 | + - [x] `P.string.optional` |
| 22 | + - [x] `P.number.select()` |
| 23 | + - [x] `P.string.select()` |
| 24 | + - [x] `P.number.optional.select()` |
| 25 | + - [x] `P.string.optional.select()` |
26 | 26 | - [x] Add a custom matcher protocol data structures could implement to make them matchable.
|
27 | 27 | - [x] (Maybe) add an iterator protocol to `P.array` to be usable as a variadic tuple pattern. Example of using `P.array`:
|
28 | 28 |
|
|
0 commit comments