Skip to content

Commit 7a400a7

Browse files
committed
Seq.choose id
1 parent 238c085 commit 7a400a7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/GraphBLAS-sharp.Tests/QuickGraph/CreateGraph.fs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ module CreateGraph =
2727
let edgeList =
2828
edgeMatrix
2929
|> Seq.cast<Edge<'a> option>
30-
|> Seq.choose
31-
(fun x ->
32-
match x with
33-
| Some _ -> x
34-
| _ -> None)
30+
|> Seq.choose id
3531

3632
edgeList.ToUndirectedGraph()

0 commit comments

Comments
 (0)