Skip to content

Commit 65b17e8

Browse files
committed
One more doc fix
1 parent c618a10 commit 65b17e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gitbook/option/sequenceAsync.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ See also Scott Wlaschin's [Understanding traverse and sequence](https://fsharpfo
1818

1919
```fsharp
2020
let a1 : Async<int option> =
21-
sequenceResult (Some (Async.singleton 42))
21+
Option.sequenceResult (Some (Async.singleton 42))
2222
// async { return Some 42 }
2323
2424
let a2 : Async<int option> =
25-
sequenceAsync None
25+
Option.sequenceAsync None
2626
// async { return None }
2727
```

gitbook/option/traverseAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ If we have a value of type `string option` and want to call the `getCustomerByEm
4040
Some "[email protected]" |> Option.traverseAsync getCustomerByEmail
4141
// async { return Some { Id = 1; Email = "[email protected]" } }
4242
43-
None |> Option.traverseResult tryParseInt
43+
None |> Option.traverseAsync getCustomerByEmail
4444
// async { return None }
4545
```

0 commit comments

Comments
 (0)