In this video, programming writer, Gordon Hogenson explains and gives examples of patterns in F# and explains the use of the match expression to control branching based on patterns in data. But first, a disclaimer Gordon wanted to make: “Regrettably, I have not been able to retrain myself yet to use the word value instead of variable. In F#, all values are immutable by default, so it’s not really correct to use the term variable, as I do in the video.” See Part 2 of this video: http://channel9.msdn.com/posts/kmcgrath/Active-Patterns-F/
You can also learn more in the topics Patterns and Match Expressions.
Kathleen McGrath
Visual Studio User Education
http://blogs.msdn.com/kathleen/