Tuesday, 20 November 2007

Sequence expressions and comprehensions

The F#.NET Journal just published an article explaining how sequence expressions can be used to improve both the clarity and performance of F# code:

"The .NET framework provides a powerful generic interface called IEnumerable that allows containers to be treated as arbitrary sequences. The approach is now widely used in C# but F# takes IEnumerable to a new level with its Seq data structure. This article describes abstract sequences in F#, the comprehension syntaxes provided by F# to make their construction simpler and clearer and practical applications of sequences with several examples..."

To read this article and more, subscribe to The F#.NET Journal today!

No comments: