File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ module Seq =
270270 /// Extracts from a seq of Choice all the Choice2Of2 elements. All the Choice2Of2 elements are extracted in order.
271271 let inline choice2s xs =
272272 let inline chooser a = match a with
273- | Choice1Of2 x -> Some x
273+ | Choice2Of2 x -> Some x
274274 | _ -> None
275275 Seq.choose chooser xs
276276
@@ -365,7 +365,7 @@ module Array =
365365 /// Extracts from an array of Choice all the Choice2Of2 elements. All the Choice2Of2 elements are extracted in order.
366366 let inline choice2s xs =
367367 let inline chooser a = match a with
368- | Choice1Of2 x -> Some x
368+ | Choice2Of2 x -> Some x
369369 | _ -> None
370370 Array.choose chooser xs
371371
@@ -499,7 +499,7 @@ module List =
499499 /// Extracts from a list of Choice all the Choice2Of2 elements. All the Choice2Of2 elements are extracted in order.
500500 let inline choice2s xs =
501501 let inline chooser a = match a with
502- | Choice1Of2 x -> Some x
502+ | Choice2Of2 x -> Some x
503503 | _ -> None
504504 List.choose chooser xs
505505
You can’t perform that action at this time.
0 commit comments