Skip to content

Commit

Permalink
Update ce.md (#265)
Browse files Browse the repository at this point in the history
Added type annotation to fix compile error.
  • Loading branch information
m-rinaldi committed May 1, 2024
1 parent 8753d67 commit ac5b82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitbook/validation/ce.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This CE can take advantage of the [and! operator](https://github.com/fsharp/fsla

```fsharp
// string -> Result<int, string>
let tryParseInt str =
let tryParseInt (str: string) =
match System.Int32.TryParse str with
| true, x -> Ok x
| false, _ ->
Expand Down

0 comments on commit ac5b82c

Please sign in to comment.