Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 0.0.10 (remove readonly) #36

Merged
merged 2 commits into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/old-zoos-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fp-ts/core": patch
---

remove readonly
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