We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20bbea6 commit e6f8549Copy full SHA for e6f8549
src/FSharpPlus/List.fs
@@ -125,7 +125,7 @@ module ListT =
125
loop count (input: ListT<'MT>)
126
127
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 ()))
+ input |> bind (fun v -> f v |> bind (fun b -> if b then singleton v else empty ()))
129
130
let inline filter f (input: ListT<'MT>) : ListT<'MT> = filterM (f >> singleton) input
131
0 commit comments