We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b53097 commit dccdbbcCopy full SHA for dccdbbc
gitbook/resultOption/traverseResult.md
@@ -63,7 +63,7 @@ let createPostRequestFromDto (dto : CreatePostRequestDto) = result {
63
// Parse the location DTO option to a Location option,
64
// returning an error if it's Some and invalid
65
let! location =
66
- dto.Location |> Option.traverseResult locationDtoToLocation
+ dto.Location |> Option.traverseResult locationFromDto
67
68
let! tweet = Tweet.TryCreate dto.Tweet
69
return {
@@ -73,4 +73,4 @@ let createPostRequestFromDto (dto : CreatePostRequestDto) = result {
73
}
74
```
75
76
-See also the [example 2](../resultOption/map2.md#example-2) of ResultOption.map2.
+See also the [example 2](../resultOption/map2.md#example-2) of ResultOption.map2.
0 commit comments