Possible Duplicate:
F# equivalent of LINQ Single
This function should return the first element of the sequence if it's the only one, otherwise it throws exception.
Does F# have this as built-in function? If not, why is it? Seems C# has a similar one in Enumerable class extension functions.
Seq.exactlyOne ?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With