Skip to content

Commit

Permalink
Fix code highlighting in Result.Extra.toTask function (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
kutyel authored Feb 28, 2024
1 parent 3598e8f commit 650ca86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Result/Extra.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 650ca86

Please sign in to comment.