@@ -180,9 +180,9 @@ module SideEffects =
180180 // point of this test: just calling 'map' won't execute anything of the sequence!
181181 let _ =
182182 ts
183- |> TaskSeq.collect ( fun x -> taskSeq { yield 10 })
184- |> TaskSeq.collect ( fun x -> taskSeq { yield 10 })
185- |> TaskSeq.collect ( fun x -> taskSeq { yield 10 })
183+ |> TaskSeq.collect ( fun _ -> taskSeq { yield 10 })
184+ |> TaskSeq.collect ( fun _ -> taskSeq { yield 10 })
185+ |> TaskSeq.collect ( fun _ -> taskSeq { yield 10 })
186186
187187 // multiple maps have no effect unless executed
188188 i |> should equal 0
@@ -201,9 +201,9 @@ module SideEffects =
201201 // point of this test: just calling 'map' won't execute anything of the sequence!
202202 let _ =
203203 ts
204- |> TaskSeq.collectAsync ( fun x -> task { return taskSeq { yield 10 } })
205- |> TaskSeq.collectAsync ( fun x -> task { return taskSeq { yield 10 } })
206- |> TaskSeq.collectAsync ( fun x -> task { return taskSeq { yield 10 } })
204+ |> TaskSeq.collectAsync ( fun _ -> task { return taskSeq { yield 10 } })
205+ |> TaskSeq.collectAsync ( fun _ -> task { return taskSeq { yield 10 } })
206+ |> TaskSeq.collectAsync ( fun _ -> task { return taskSeq { yield 10 } })
207207
208208 // multiple maps have no effect unless executed
209209 i |> should equal 0
@@ -222,9 +222,9 @@ module SideEffects =
222222 // point of this test: just calling 'map' won't execute anything of the sequence!
223223 let _ =
224224 ts
225- |> TaskSeq.collectSeq ( fun x -> seq { yield 10 })
226- |> TaskSeq.collectSeq ( fun x -> seq { yield 10 })
227- |> TaskSeq.collectSeq ( fun x -> seq { yield 10 })
225+ |> TaskSeq.collectSeq ( fun _ -> seq { yield 10 })
226+ |> TaskSeq.collectSeq ( fun _ -> seq { yield 10 })
227+ |> TaskSeq.collectSeq ( fun _ -> seq { yield 10 })
228228
229229 // multiple maps have no effect unless executed
230230 i |> should equal 0
@@ -243,9 +243,9 @@ module SideEffects =
243243 // point of this test: just calling 'map' won't execute anything of the sequence!
244244 let _ =
245245 ts
246- |> TaskSeq.collectSeqAsync ( fun x -> task { return seq { yield 10 } })
247- |> TaskSeq.collectSeqAsync ( fun x -> task { return seq { yield 10 } })
248- |> TaskSeq.collectSeqAsync ( fun x -> task { return seq { yield 10 } })
246+ |> TaskSeq.collectSeqAsync ( fun _ -> task { return seq { yield 10 } })
247+ |> TaskSeq.collectSeqAsync ( fun _ -> task { return seq { yield 10 } })
248+ |> TaskSeq.collectSeqAsync ( fun _ -> task { return seq { yield 10 } })
249249
250250 // multiple maps have no effect unless executed
251251 i |> should equal 0
0 commit comments