Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Dec 13, 2022
1 parent 51bb90b commit 97d9abf
Show file tree
Hide file tree
Showing 31 changed files with 101 additions and 646 deletions.
32 changes: 16 additions & 16 deletions docs/modules/HKT.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: HKT.ts
nav_order: 3
nav_order: 1
parent: Modules
---

Expand All @@ -27,20 +27,20 @@ Added in v1.0.0

```ts
export type Kind<F extends TypeLambda, In, Out2, Out1, Target> = F extends {
readonly type: unknown
type: unknown
}
? (F & {
readonly In: In
readonly Out2: Out2
readonly Out1: Out1
readonly Target: Target
In: In
Out2: Out2
Out1: Out1
Target: Target
})['type']
: {
readonly F: F
readonly In: (_: In) => void
readonly Out2: () => Out2
readonly Out1: () => Out1
readonly Target: (_: Target) => Target
F: F
In: (_: In) => void
Out2: () => Out2
Out1: () => Out1
Target: (_: Target) => Target
}
```
Expand All @@ -52,7 +52,7 @@ Added in v1.0.0
```ts
export interface TypeClass<F extends TypeLambda> {
readonly [URI]?: F
[URI]?: F
}
```

Expand All @@ -64,10 +64,10 @@ Added in v1.0.0

```ts
export interface TypeLambda {
readonly In: unknown
readonly Out2: unknown
readonly Out1: unknown
readonly Target: unknown
In: unknown
Out2: unknown
Out1: unknown
Target: unknown
}
```

Expand Down
74 changes: 0 additions & 74 deletions docs/modules/data/Either.ts.md

This file was deleted.

73 changes: 0 additions & 73 deletions docs/modules/data/Option.ts.md

This file was deleted.

60 changes: 1 addition & 59 deletions docs/modules/index.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: index.ts
nav_order: 4
nav_order: 2
parent: Modules
---

Expand All @@ -12,20 +12,15 @@ Added in v1.0.0

<h2 class="text-delta">Table of contents</h2>

- [data types](#data-types)
- [either](#either)
- [option](#option)
- [typeclass](#typeclass)
- [alternative](#alternative)
- [applicative](#applicative)
- [bicovariant](#bicovariant)
- [bounded](#bounded)
- [chainable](#chainable)
- [compactable](#compactable)
- [contravariant](#contravariant)
- [coproduct](#coproduct)
- [covariant](#covariant)
- [filterable](#filterable)
- [flatMap](#flatmap)
- [foldable](#foldable)
- [invariant](#invariant)
Expand All @@ -42,34 +37,11 @@ Added in v1.0.0
- [semiProduct](#semiproduct)
- [semigroup](#semigroup)
- [traversable](#traversable)
- [traversableFilterable](#traversablefilterable)
- [utils](#utils)
- [hkt](#hkt)

---

# data types

## either

**Signature**

```ts
export declare const either: typeof either
```
Added in v1.0.0
## option
**Signature**
```ts
export declare const option: typeof option
```
Added in v1.0.0
# typeclass

## alternative
Expand Down Expand Up @@ -122,16 +94,6 @@ export declare const chainable: typeof chainable
Added in v1.0.0
## compactable
**Signature**
```ts
export declare const compactable: typeof compactable
```
Added in v1.0.0
## contravariant
**Signature**
Expand Down Expand Up @@ -162,16 +124,6 @@ export declare const covariant: typeof covariant
Added in v1.0.0
## filterable
**Signature**
```ts
export declare const filterable: typeof filterable
```
Added in v1.0.0
## flatMap
**Signature**
Expand Down Expand Up @@ -332,16 +284,6 @@ export declare const traversable: typeof traversable
Added in v1.0.0
## traversableFilterable
**Signature**
```ts
export declare const traversableFilterable: typeof traversableFilterable
```
Added in v1.0.0
# utils
## hkt
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/typeclass/Alternative.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: typeclass/Alternative.ts
nav_order: 5
nav_order: 3
parent: Modules
---

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/typeclass/Applicative.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: typeclass/Applicative.ts
nav_order: 6
nav_order: 4
parent: Modules
---

Expand Down
7 changes: 2 additions & 5 deletions docs/modules/typeclass/Bicovariant.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: typeclass/Bicovariant.ts
nav_order: 7
nav_order: 5
parent: Modules
---

Expand Down Expand Up @@ -29,10 +29,7 @@ Added in v1.0.0

```ts
export interface Bicovariant<F extends TypeLambda> extends TypeClass<F> {
readonly bimap: <E1, E2, A, B>(
f: (e: E1) => E2,
g: (a: A) => B
) => <R, O>(self: Kind<F, R, O, E1, A>) => Kind<F, R, O, E2, B>
bimap: <E1, E2, A, B>(f: (e: E1) => E2, g: (a: A) => B) => <R, O>(self: Kind<F, R, O, E1, A>) => Kind<F, R, O, E2, B>
}
```

Expand Down
8 changes: 4 additions & 4 deletions docs/modules/typeclass/Bounded.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: typeclass/Bounded.ts
nav_order: 8
nav_order: 6
parent: Modules
---

Expand Down Expand Up @@ -30,8 +30,8 @@ Added in v1.0.0

```ts
export interface Bounded<A> extends Order<A> {
readonly maxBound: A
readonly minBound: A
maxBound: A
minBound: A
}
```

Expand All @@ -45,7 +45,7 @@ Added in v1.0.0

```ts
export interface BoundedTypeLambda extends TypeLambda {
readonly type: Bounded<this['Target']>
type: Bounded<this['Target']>
}
```

Expand Down
Loading

0 comments on commit 97d9abf

Please sign in to comment.