From ac5b82cb99414a3c875940a153b4a52c4fa343eb Mon Sep 17 00:00:00 2001 From: "J. Rinaldi" <2664441+m-rinaldi@users.noreply.github.com> Date: Wed, 1 May 2024 15:57:48 +0200 Subject: [PATCH] Update ce.md (#265) Added type annotation to fix compile error. --- gitbook/validation/ce.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitbook/validation/ce.md b/gitbook/validation/ce.md index f524c108..dec86ec7 100644 --- a/gitbook/validation/ce.md +++ b/gitbook/validation/ce.md @@ -14,7 +14,7 @@ This CE can take advantage of the [and! operator](https://github.com/fsharp/fsla ```fsharp // string -> Result -let tryParseInt str = +let tryParseInt (str: string) = match System.Int32.TryParse str with | true, x -> Ok x | false, _ ->