Skip to content

Commit

Permalink
docs: add filtering category to getWitherable
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Oct 3, 2022
1 parent 5570405 commit 92f51d5
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 62 deletions.
26 changes: 13 additions & 13 deletions docs/modules/Either.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Added in v2.0.0
- [filterOrElseW](#filterorelsew)
- [getCompactable](#getcompactable)
- [getFilterable](#getfilterable)
- [getWitherable](#getwitherable)
- [folding](#folding)
- [foldMap](#foldmap)
- [reduce](#reduce)
Expand All @@ -126,7 +127,6 @@ Added in v2.0.0
- [getEq](#geteq)
- [getSemigroup](#getsemigroup)
- [getShow](#getshow)
- [getWitherable](#getwitherable)
- [interop](#interop)
- [tryCatch](#trycatch)
- [tryCatchK](#trycatchk)
Expand Down Expand Up @@ -751,6 +751,18 @@ export declare const getFilterable: <E>(M: Monoid<E>) => Filterable2C<'Either',
Added in v2.10.0
## getWitherable
Builds `Witherable` instance for `Either` given `Monoid` for the left side
**Signature**
```ts
export declare const getWitherable: <E>(M: Monoid<E>) => Witherable2C<'Either', E>
```
Added in v2.0.0
# folding
## foldMap
Expand Down Expand Up @@ -1019,18 +1031,6 @@ export declare const getShow: <E, A>(SE: Show<E>, SA: Show<A>) => Show<Either<E,
Added in v2.0.0
## getWitherable
Builds `Witherable` instance for `Either` given `Monoid` for the left side
**Signature**
```ts
export declare const getWitherable: <E>(M: Monoid<E>) => Witherable2C<'Either', E>
```
Added in v2.0.0
# interop
## tryCatch
Expand Down
22 changes: 11 additions & 11 deletions docs/modules/Map.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Added in v2.0.0
- [filter](#filter)
- [filterMap](#filtermap)
- [getFilterableWithIndex](#getfilterablewithindex)
- [getWitherable](#getwitherable)
- [partition](#partition)
- [partitionMap](#partitionmap)
- [separate](#separate)
Expand All @@ -42,7 +43,6 @@ Added in v2.0.0
- [getShow](#getshow)
- [getUnionMonoid](#getunionmonoid)
- [getUnionSemigroup](#getunionsemigroup)
- [getWitherable](#getwitherable)
- [mapping](#mapping)
- [flap](#flap)
- [map](#map)
Expand Down Expand Up @@ -161,6 +161,16 @@ export declare function getFilterableWithIndex<K = never>(): FilterableWithIndex

Added in v2.0.0

## getWitherable

**Signature**

```ts
export declare function getWitherable<K>(O: Ord<K>): Witherable2C<URI, K> & TraversableWithIndex2C<URI, K, K>
```

Added in v2.0.0

## partition

**Signature**
Expand Down Expand Up @@ -387,16 +397,6 @@ export declare const getUnionSemigroup: <K, A>(E: Eq<K>, S: Semigroup<A>) => Sem

Added in v2.11.0

## getWitherable

**Signature**

```ts
export declare function getWitherable<K>(O: Ord<K>): Witherable2C<URI, K> & TraversableWithIndex2C<URI, K, K>
```

Added in v2.0.0

# mapping

## flap
Expand Down
22 changes: 11 additions & 11 deletions docs/modules/ReadonlyMap.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Added in v2.5.0
- [filter](#filter)
- [filterMap](#filtermap)
- [getFilterableWithIndex](#getfilterablewithindex)
- [getWitherable](#getwitherable)
- [partition](#partition)
- [partitionMap](#partitionmap)
- [separate](#separate)
Expand All @@ -49,7 +50,6 @@ Added in v2.5.0
- [getShow](#getshow)
- [getUnionMonoid](#getunionmonoid)
- [getUnionSemigroup](#getunionsemigroup)
- [getWitherable](#getwitherable)
- [mapping](#mapping)
- [flap](#flap)
- [map](#map)
Expand Down Expand Up @@ -235,6 +235,16 @@ export declare function getFilterableWithIndex<K = never>(): FilterableWithIndex

Added in v2.5.0

## getWitherable

**Signature**

```ts
export declare function getWitherable<K>(O: Ord<K>): Witherable2C<URI, K> & TraversableWithIndex2C<URI, K, K>
```

Added in v2.5.0

## partition

**Signature**
Expand Down Expand Up @@ -479,16 +489,6 @@ export declare const getUnionSemigroup: <K, A>(E: Eq<K>, S: Semigroup<A>) => Sem

Added in v2.11.0

## getWitherable

**Signature**

```ts
export declare function getWitherable<K>(O: Ord<K>): Witherable2C<URI, K> & TraversableWithIndex2C<URI, K, K>
```

Added in v2.5.0

# mapping

## flap
Expand Down
22 changes: 11 additions & 11 deletions docs/modules/ReadonlyRecord.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Added in v2.5.0
- [compact](#compact)
- [filter](#filter)
- [filterMap](#filtermap)
- [getWitherable](#getwitherable)
- [partition](#partition)
- [partitionMap](#partitionmap)
- [separate](#separate)
Expand All @@ -54,7 +55,6 @@ Added in v2.5.0
- [getShow](#getshow)
- [getUnionMonoid](#getunionmonoid)
- [getUnionSemigroup](#getunionsemigroup)
- [getWitherable](#getwitherable)
- [mapping](#mapping)
- [flap](#flap)
- [model](#model)
Expand Down Expand Up @@ -377,6 +377,16 @@ assert.deepStrictEqual(filterMap(f)({ a: 'foo', b: 'bar', c: 'verylong' }), {

Added in v2.5.0

## getWitherable

**Signature**

```ts
export declare const getWitherable: (O: Ord<string>) => Witherable1<URI>
```

Added in v2.11.0

## partition

Partition a `ReadonlyRecord` into two parts according to a `Predicate`.
Expand Down Expand Up @@ -844,16 +854,6 @@ assert.deepStrictEqual(sReadonlyRecord.concat({ a: 1, b: 2 }, { b: 3, c: 4 }), {

Added in v2.11.0

## getWitherable

**Signature**

```ts
export declare const getWitherable: (O: Ord<string>) => Witherable1<URI>
```

Added in v2.11.0

# mapping

## flap
Expand Down
22 changes: 11 additions & 11 deletions docs/modules/Record.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Added in v2.0.0
- [compact](#compact)
- [filter](#filter)
- [filterMap](#filtermap)
- [getWitherable](#getwitherable)
- [partition](#partition)
- [partitionMap](#partitionmap)
- [separate](#separate)
Expand All @@ -47,7 +48,6 @@ Added in v2.0.0
- [getShow](#getshow)
- [getUnionMonoid](#getunionmonoid)
- [getUnionSemigroup](#getunionsemigroup)
- [getWitherable](#getwitherable)
- [mapping](#mapping)
- [flap](#flap)
- [map](#map)
Expand Down Expand Up @@ -263,6 +263,16 @@ assert.deepStrictEqual(filterMap(f)({ a: 'foo', b: 'bar', c: 'verylong' }), {

Added in v2.0.0

## getWitherable

**Signature**

```ts
export declare const getWitherable: (O: Ord<string>) => Witherable1<URI>
```
Added in v2.11.0
## partition
Partition a `Record` into two parts according to a `Predicate`.
Expand Down Expand Up @@ -722,16 +732,6 @@ assert.deepStrictEqual(sRecord.concat({ a: 1, b: 2 }, { b: 3, c: 4 }), { a: 1, b

Added in v2.11.0

## getWitherable

**Signature**

```ts
export declare const getWitherable: (O: Ord<string>) => Witherable1<URI>
```

Added in v2.11.0

# mapping

## flap
Expand Down
2 changes: 1 addition & 1 deletion src/Either.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const getFilterable = <E>(M: Monoid<E>): Filterable2C<URI, E> => {
/**
* Builds `Witherable` instance for `Either` given `Monoid` for the left side
*
* @category instances
* @category filtering
* @since 2.0.0
*/
export const getWitherable = <E>(M: Monoid<E>): Witherable2C<URI, E> => {
Expand Down
2 changes: 1 addition & 1 deletion src/Map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ export function getFilterableWithIndex<K = never>(): FilterableWithIndex2C<URI,
}

/**
* @category instances
* @category filtering
* @since 2.0.0
*/
export function getWitherable<K>(O: Ord<K>): Witherable2C<URI, K> & TraversableWithIndex2C<URI, K, K> {
Expand Down
2 changes: 1 addition & 1 deletion src/ReadonlyMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ export const getTraversableWithIndex = <K>(O: Ord<K>): TraversableWithIndex2C<UR
}

/**
* @category instances
* @category filtering
* @since 2.5.0
*/
export function getWitherable<K>(O: Ord<K>): Witherable2C<URI, K> & TraversableWithIndex2C<URI, K, K> {
Expand Down
2 changes: 1 addition & 1 deletion src/ReadonlyRecord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ export const getTraversableWithIndex = (O: Ord<string>): TraversableWithIndex1<U
})

/**
* @category instances
* @category filtering
* @since 2.11.0
*/
export const getWitherable = (O: Ord<string>): Witherable1<URI> => {
Expand Down
2 changes: 1 addition & 1 deletion src/Record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ export const getTraversableWithIndex = (O: Ord<string>): TraversableWithIndex1<U
})

/**
* @category instances
* @category filtering
* @since 2.11.0
*/
export const getWitherable = (O: Ord<string>): Witherable1<URI> => {
Expand Down

0 comments on commit 92f51d5

Please sign in to comment.