Skip to content

Commit e6f8549

Browse files
authored
fix
1 parent 20bbea6 commit e6f8549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpPlus/List.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module ListT =
125125
loop count (input: ListT<'MT>)
126126

127127
let inline filterM (f: 'T -> ListT<'``M<bool>``>) (input: ListT<'MT>) : ListT<'MT> =
128-
input |> ListT.bind (fun v -> f v |> ListT.bind (fun b -> if b then singleton v else empty ()))
128+
input |> bind (fun v -> f v |> bind (fun b -> if b then singleton v else empty ()))
129129

130130
let inline filter f (input: ListT<'MT>) : ListT<'MT> = filterM (f >> singleton) input
131131

0 commit comments

Comments
 (0)