Skip to content

Commit

Permalink
Update violet-students-raise.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Jun 13, 2024
1 parent faecbeb commit 7d9686e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/violet-students-raise.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
---

Add `Tuple.at` api, to retrieve an element at a specified index from a tuple.

```ts
import { Tuple } from "effect"

assert.deepStrictEqual(Tuple.at([1, 'hello', true], 1), 'hello')
```

0 comments on commit 7d9686e

Please sign in to comment.