Active Patterns (F#)
- Posted: Jul 09, 2009 at 8:59PM
- 10,990 views
- 1 comment
Loading user information from Channel 9
Something went wrong getting user information from Channel 9
Loading user information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
In this video, programming writer, Gordon Hogenson, continues the discussion of patterns by talking about active patterns, which you can use to customize and extend F#’s pattern matching capabilities. Active patterns are an amazingly flexible language feature, and in this video we just scratch the surface of what can be done with them. You can learn more in the topic: Active Patterns.
Gordon would also like to thank Chris Smith and Brian McNamara, of the F# team, for giving him some ideas for how to use active patterns. Some similar examples to those in the video are discussed in F# team blog postings, such as in Chris Smith’s blog posting on active patterns. For those interested in exploring further, you can read a paper on active patterns by Don Syme, James Margetson, and Gregory Nemerov.
Visual Studio User Education