From 650ca8607d8720aa1a7bc336d5bc77fdccab7b73 Mon Sep 17 00:00:00 2001 From: Flavio Corpa Date: Wed, 28 Feb 2024 13:09:14 +0100 Subject: [PATCH] Fix code highlighting in `Result.Extra.toTask` function (#45) --- src/Result/Extra.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Result/Extra.elm b/src/Result/Extra.elm index 293acb8..5e0d125 100644 --- a/src/Result/Extra.elm +++ b/src/Result/Extra.elm @@ -492,9 +492,9 @@ This can be helpful when the value of a succeeding Task needs to be decoded, but a failure to decode should result in a failing `Task`, not a succeeding Task containing a `Result.Err`: -andThenDecode : (a -> Result x b) -> Task x a -> Task x b -andThenDecode decode = -Task.andThen (decode >> Result.Extra.toTask) + andThenDecode : (a -> Result x b) -> Task x a -> Task x b + andThenDecode decode = + Task.andThen (decode >> Result.Extra.toTask) -} toTask : Result x a -> Task x a