Skip to content

Commit

Permalink
roc fromat
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Sep 4, 2024
1 parent 4d0c3c4 commit b1771f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Results/main.roc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ parseWithTryV2 = \line ->
|> Result.try \birthYear ->
Ok { firstName, lastName, birthYear }

## The `?` operator, called the "try operator", is
## The `?` operator, called the "try operator", is
## [syntactic sugar](en.wikipedia.org/wiki/Syntactic_sugar) for `Result.try`.
## It makes the code much less nested and easier to read.
## The following function is equivalent to `parseWithTry`:
Expand Down

0 comments on commit b1771f2

Please sign in to comment.