From aa0fa4dceaa14e5623dfaef36eb7d73012002535 Mon Sep 17 00:00:00 2001 From: Joost Kaptein Date: Wed, 6 Dec 2023 16:30:32 +0000 Subject: [PATCH] fix AsyncResult used in AsyncResultOption.OfAsyncResult docs code example used AsyncResult where it was supposed to be asyncResultOption --- gitbook/asyncResultOption/ofAsyncResult.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitbook/asyncResultOption/ofAsyncResult.md b/gitbook/asyncResultOption/ofAsyncResult.md index a49d6acb..67d702c2 100644 --- a/gitbook/asyncResultOption/ofAsyncResult.md +++ b/gitbook/asyncResultOption/ofAsyncResult.md @@ -15,13 +15,13 @@ Async> -> Async> ### Example 1 ```fsharp -let result = AsyncResult.ofAsyncResult (async { return Ok 42 }) +let result = AsyncResultOption.ofAsyncResult (async { return Ok 42 }) // async { return Ok (Some 42) } ``` ### Example 2 ```fsharp -let result = AsyncResult.ofAsyncResult (async { return Error "error" }) +let result = AsyncResultOption.ofAsyncResult (async { return Error "error" }) // async { return Error "error" } ```