Skip to content

Commit f849103

Browse files
isaacabrahamTheAngryByrd
authored andcommitted
Fix final traverse
1 parent fc1cf9b commit f849103

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FsToolkit.ErrorHandling/List.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ module List =
7070

7171
let rec private traverseAsyncResultA' state f xs =
7272
match xs with
73-
| [] -> state
73+
| [] ->
74+
state |> AsyncResult.map List.rev
7475
| x :: xs ->
7576
async {
7677
let! s = state

0 commit comments

Comments
 (0)