Skip to content

Commit

Permalink
One more doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tw0po1nt committed Jan 2, 2025
1 parent c618a10 commit 65b17e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gitbook/option/sequenceAsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ See also Scott Wlaschin's [Understanding traverse and sequence](https://fsharpfo

```fsharp
let a1 : Async<int option> =
sequenceResult (Some (Async.singleton 42))
Option.sequenceResult (Some (Async.singleton 42))
// async { return Some 42 }
let a2 : Async<int option> =
sequenceAsync None
Option.sequenceAsync None
// async { return None }
```
2 changes: 1 addition & 1 deletion gitbook/option/traverseAsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ If we have a value of type `string option` and want to call the `getCustomerByEm
Some "[email protected]" |> Option.traverseAsync getCustomerByEmail
// async { return Some { Id = 1; Email = "[email protected]" } }
None |> Option.traverseResult tryParseInt
None |> Option.traverseAsync getCustomerByEmail
// async { return None }
```

0 comments on commit 65b17e8

Please sign in to comment.