Active Patterns (F#)
- Posted: Jul 09, 2009 at 8:59 PM
- 9,337 Views
- 1 Comment
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
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.
Kathleen McGrath
Visual Studio User Education
http://blogs.msdn.com/kathleen/
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Excellent video! A good followup would be to show active patterns in use with a real world problem. A walkthrough of the F# Optimization DSL for the Solver Foundation or of the underlying concepts used to build the ODSL would be my request. We have converted a moderately complex AMPL/CPLEX model to F#/ODSL for testing purposes. More F# videos would be appreciated!
Remove this comment
Remove this thread
close