Skip to content

Commit dccdbbc

Browse files
authored
fix(doc): Option.traverseResult typo (#253)
1 parent 8b53097 commit dccdbbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitbook/resultOption/traverseResult.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ let createPostRequestFromDto (dto : CreatePostRequestDto) = result {
6363
// Parse the location DTO option to a Location option,
6464
// returning an error if it's Some and invalid
6565
let! location =
66-
dto.Location |> Option.traverseResult locationDtoToLocation
66+
dto.Location |> Option.traverseResult locationFromDto
6767
6868
let! tweet = Tweet.TryCreate dto.Tweet
6969
return {
@@ -73,4 +73,4 @@ let createPostRequestFromDto (dto : CreatePostRequestDto) = result {
7373
}
7474
```
7575

76-
See also the [example 2](../resultOption/map2.md#example-2) of ResultOption.map2.
76+
See also the [example 2](../resultOption/map2.md#example-2) of ResultOption.map2.

0 commit comments

Comments
 (0)