Skip to content

Commit

Permalink
feat: adds str and num namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoD committed Mar 11, 2021
1 parent 6f7ada4 commit ddcada0
Show file tree
Hide file tree
Showing 31 changed files with 2,817 additions and 261 deletions.
377 changes: 308 additions & 69 deletions docs/README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/interfaces/either.left.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Name | Default |

`Readonly` **\_\_tag**: *left*

Defined in: [tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L15)
Defined in: [src/tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L15)

___

### value

`Readonly` **value**: T

Defined in: [tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L16)
Defined in: [src/tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L16)
4 changes: 2 additions & 2 deletions docs/interfaces/either.right.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Name | Default |

`Readonly` **\_\_tag**: *right*

Defined in: [tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L15)
Defined in: [src/tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L15)

___

### value

`Readonly` **value**: T

Defined in: [tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L16)
Defined in: [src/tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L16)
4 changes: 2 additions & 2 deletions docs/interfaces/maybe.just.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Name | Default |

`Readonly` **\_\_tag**: *just*

Defined in: [tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L15)
Defined in: [src/tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L15)

___

### value

`Readonly` **value**: T

Defined in: [tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L16)
Defined in: [src/tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L16)
4 changes: 2 additions & 2 deletions docs/interfaces/maybe.nothing.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Represents a value which is falsy

`Readonly` **\_\_tag**: *nothing*

Defined in: [tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L15)
Defined in: [src/tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L15)

___

### value

`Readonly` **value**: *unknown*

Defined in: [tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L16)
Defined in: [src/tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L16)
6 changes: 3 additions & 3 deletions docs/interfaces/mediator.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@

**publish**: <T\>(`topic`: *string*, ...`args`: T) => *void*

Defined in: [mediator.ts:6](https://github.com/OctoD/tiinvo/blob/0105242/src/mediator.ts#L6)
Defined in: [src/mediator.ts:6](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/mediator.ts#L6)

___

### subscribe

**subscribe**: <Fn\>(`topic`: *string*, `fn`: Fn) => [*PushSub*](pushsub.md)<Fn\>

Defined in: [mediator.ts:7](https://github.com/OctoD/tiinvo/blob/0105242/src/mediator.ts#L7)
Defined in: [src/mediator.ts:7](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/mediator.ts#L7)

___

### unsubscribe

**unsubscribe**: (`channel`: *string*) => *void*

Defined in: [mediator.ts:8](https://github.com/OctoD/tiinvo/blob/0105242/src/mediator.ts#L8)
Defined in: [src/mediator.ts:8](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/mediator.ts#L8)
4 changes: 2 additions & 2 deletions docs/interfaces/option.none.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@

`Readonly` **\_\_tag**: *none*

Defined in: [tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L15)
Defined in: [src/tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L15)

___

### value

`Readonly` **value**: *any*

Defined in: [tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L16)
Defined in: [src/tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L16)
4 changes: 2 additions & 2 deletions docs/interfaces/option.some.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ Name | Default |

`Readonly` **\_\_tag**: *some*

Defined in: [tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L15)
Defined in: [src/tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L15)

___

### value

`Readonly` **value**: *NonNullable*<T\>

Defined in: [tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L16)
Defined in: [src/tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L16)
4 changes: 2 additions & 2 deletions docs/interfaces/pushsub.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Name | Type |

**Returns:** *void*

Defined in: [push-sub.ts:4](https://github.com/OctoD/tiinvo/blob/0105242/src/push-sub.ts#L4)
Defined in: [src/push-sub.ts:4](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/push-sub.ts#L4)

## Table of contents

Expand All @@ -38,4 +38,4 @@ Defined in: [push-sub.ts:4](https://github.com/OctoD/tiinvo/blob/0105242/src/pus

**unsubscribe**: [*UnsubscribeFn*](../README.md#unsubscribefn)

Defined in: [push-sub.ts:6](https://github.com/OctoD/tiinvo/blob/0105242/src/push-sub.ts#L6)
Defined in: [src/push-sub.ts:6](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/push-sub.ts#L6)
4 changes: 2 additions & 2 deletions docs/interfaces/result.err.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@

`Readonly` **\_\_tag**: *err*

Defined in: [tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L15)
Defined in: [src/tagged-type.ts:15](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L15)

___

### value

`Readonly` **value**: Error

Defined in: [tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/0105242/src/tagged-type.ts#L16)
Defined in: [src/tagged-type.ts:16](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/tagged-type.ts#L16)
52 changes: 26 additions & 26 deletions docs/modules/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:17](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L17)
Defined in: [src/array.ts:17](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L17)

___

Expand All @@ -83,7 +83,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:50](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L50)
Defined in: [src/array.ts:50](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L50)

___

Expand Down Expand Up @@ -115,7 +115,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:32](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L32)
Defined in: [src/array.ts:32](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L32)

___

Expand Down Expand Up @@ -146,7 +146,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:69](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L69)
Defined in: [src/array.ts:69](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L69)

___

Expand Down Expand Up @@ -178,7 +178,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:88](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L88)
Defined in: [src/array.ts:88](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L88)

___

Expand All @@ -197,7 +197,7 @@ flatnummatris([[1, 2], [3, 4]]) // [1, 2, 3, 4];

**Returns:** *function*

Defined in: [array.ts:104](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L104)
Defined in: [src/array.ts:104](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L104)

___

Expand Down Expand Up @@ -244,7 +244,7 @@ Name | Type | Description |

**Returns:** *function*

Defined in: [array.ts:136](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L136)
Defined in: [src/array.ts:136](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L136)

___

Expand All @@ -263,7 +263,7 @@ getfirst()([100, 200]) // 100

**Returns:** *function*

Defined in: [array.ts:150](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L150)
Defined in: [src/array.ts:150](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L150)

___

Expand Down Expand Up @@ -294,7 +294,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:165](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L165)
Defined in: [src/array.ts:165](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L165)

___

Expand All @@ -313,7 +313,7 @@ getfirst()([100, 200]) // 100

**Returns:** *function*

Defined in: [array.ts:179](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L179)
Defined in: [src/array.ts:179](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L179)

___

Expand Down Expand Up @@ -345,7 +345,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:198](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L198)
Defined in: [src/array.ts:198](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L198)

___

Expand Down Expand Up @@ -378,7 +378,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:242](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L242)
Defined in: [src/array.ts:242](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L242)

___

Expand All @@ -397,7 +397,7 @@ isempty()([1]) // false

**Returns:** *function*

Defined in: [array.ts:212](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L212)
Defined in: [src/array.ts:212](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L212)

___

Expand All @@ -416,7 +416,7 @@ isempty()([1]) // true

**Returns:** *function*

Defined in: [array.ts:226](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L226)
Defined in: [src/array.ts:226](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L226)

___

Expand All @@ -436,7 +436,7 @@ length()(test) // 4

**Returns:** *function*

Defined in: [array.ts:257](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L257)
Defined in: [src/array.ts:257](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L257)

___

Expand Down Expand Up @@ -475,7 +475,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:280](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L280)
Defined in: [src/array.ts:280](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L280)

___

Expand All @@ -493,7 +493,7 @@ arr.includes(random()(arr)) // true

**Returns:** *function*

Defined in: [array.ts:294](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L294)
Defined in: [src/array.ts:294](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L294)

___

Expand Down Expand Up @@ -527,7 +527,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:313](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L313)
Defined in: [src/array.ts:313](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L313)

___

Expand Down Expand Up @@ -561,7 +561,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:334](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L334)
Defined in: [src/array.ts:334](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L334)

___

Expand All @@ -579,7 +579,7 @@ reverse()([1, 2, 3]) // [3, 2, 1]

**Returns:** *function*

Defined in: [array.ts:349](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L349)
Defined in: [src/array.ts:349](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L349)

___

Expand All @@ -595,7 +595,7 @@ shuffle()([1, 2, 3]) // could be [3, 2, 1] or [2, 1, 3] or [1, 3, 2] or...

**Returns:** *function*

Defined in: [array.ts:360](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L360)
Defined in: [src/array.ts:360](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L360)

___

Expand Down Expand Up @@ -627,7 +627,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:383](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L383)
Defined in: [src/array.ts:383](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L383)

___

Expand Down Expand Up @@ -661,7 +661,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:401](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L401)
Defined in: [src/array.ts:401](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L401)

___

Expand All @@ -688,7 +688,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:420](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L420)
Defined in: [src/array.ts:420](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L420)

___

Expand All @@ -715,7 +715,7 @@ Name | Type |

**Returns:** *function*

Defined in: [array.ts:438](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L438)
Defined in: [src/array.ts:438](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L438)

___

Expand All @@ -736,4 +736,4 @@ Name |

**Returns:** *function*

Defined in: [array.ts:448](https://github.com/OctoD/tiinvo/blob/0105242/src/array.ts#L448)
Defined in: [src/array.ts:448](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/array.ts#L448)
4 changes: 2 additions & 2 deletions docs/modules/assertables.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Name |
------ |
`T` |

Defined in: [assertables.ts:4](https://github.com/OctoD/tiinvo/blob/0105242/src/assertables.ts#L4)
Defined in: [src/assertables.ts:4](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/assertables.ts#L4)

## Functions

Expand Down Expand Up @@ -66,4 +66,4 @@ Name | Type |

**Returns:** [*Expect*](assertables.md#expect)<T\>

Defined in: [assertables.ts:31](https://github.com/OctoD/tiinvo/blob/0105242/src/assertables.ts#L31)
Defined in: [src/assertables.ts:31](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/assertables.ts#L31)
2 changes: 1 addition & 1 deletion docs/modules/derivables.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ Name | Type | Description |

**Returns:** *function*

Defined in: [derivables.ts:53](https://github.com/OctoD/tiinvo/blob/0105242/src/derivables.ts#L53)
Defined in: [src/derivables.ts:53](https://github.com/OctoD/tiinvo/blob/6f7ada4/src/derivables.ts#L53)

0 comments on commit ddcada0

Please sign in to comment.