Shows how to use an active pattern that will try to determine the format of an input value.
17 people like thisPosted: 13 years ago by Robert Pickering
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 13 years ago by Tomas Petricek
Depicts use of one kind of active pattern matching; partial-case with parameters.
5 people like thisPosted: 13 years ago by Joel Huang
A simple active pattern that allows you to match WebExceptions by HttpStatusCode. I find it useful for quick scripts where I only need WebClient and don't have to get involved with WebRequest etc.
12 people like thisPosted: 12 years ago by Leaf Garland
Example active pattern for tweet.
1 people like thisPosted: 10 years ago by Robert Nielsen
Show's how to create a parametrized active pattern that will match based on a regular expression.
34 people like thisPosted: 13 years ago by Robert Pickering
Active pattern returning list of captured groups.
11 people like thisPosted: 13 years ago by Daniel Robinson
An active pattern for comparing two objects of the same type and implementing IComparable. Modeled on Standard ML comparison.
4 people like thisPosted: 13 years ago by petebu
Parsing simple formulas using active patterns
2 people like thisPosted: 11 years ago by Tomas Petricek