Active Patterns (F#)
- Posted: Jul 09, 2009 at 8:59 PM
- 10,008 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.
Kathleen McGrath
Visual Studio User Education
http://blogs.msdn.com/kathleen/
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
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
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