, , . , seq {...} seq<obj> , .
seq { let i = mtc.Groups.GetEnumerator() in while i.MoveNext() do yield i.Current }
|> Seq.cast<Text.RegularExpressions.Group>
|> Seq.map (fun m -> m.Value)
|> List.ofSeq
, , :
val input : string = "args=(hello, world, foo, bar)"
val mtc : Match = args=(hello, world, foo, bar)
val it : string list = ["args=(hello, world, foo, bar)"; "hello, world, foo, bar"]
, googler , , , downvotes, dupe .
: Seq.cast , IEnumerable . , seq- , Seq.cast<Text.RegularExpressions.Group>! , .