Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodyowl committed Oct 22, 2024
1 parent 56ac0af commit 9b21e9d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/docs/async-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ const loading = AsyncData.Loading();
const done = AsyncData.Done(1);
```

:::tip Since v3.0.0
`AsyncData` values are referentially equal if they contain the same value, meaning that `AsyncData.Done(1) === AsyncData.Done(1)`.
:::

## Methods

The async data type provides a few manipulation functions:
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/option.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const b = Option.fromNull(value);
const c = Option.fromUndefined(value);
```

:::tip Since v3.0.0
`Option` values are referentially equal if they contain the same value, meaning that `Option.Some(1) === Option.Some(1)`.
:::

## Methods

The option type provides a few manipulation functions:
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/result.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ const value = await Result.fromPromise(() => fetch("/api"));
// - Error(error)
```

:::tip Since v3.0.0
`Result` values are referentially equal if they contain the same value, meaning that `Result.Ok(1) === Result.Ok(1)` and `Result.Error(1) === Result.Error(1)`.
:::

## Methods

The result type provides a few manipulation functions:
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default function Home() {
}}
muted
loop
src="/boxed/video/ide.mov"
src="/boxed/video/ide.m4v"
playsInline
controls={false}
preload="metadata"
Expand Down
Binary file added docs/static/video/ide.m4v
Binary file not shown.
Binary file removed docs/static/video/ide.mov
Binary file not shown.

0 comments on commit 9b21e9d

Please sign in to comment.