Chris Smith's completely unique view

Algorithms, functional programming, CLR 4.0, and of course, F#!
Posts
  • Chris Smith's completely unique view

    Regular Expressions via Active Patterns

    • 4 Comments
    In my last post I introduced Active Patterns. Sure they seem neat, but what do you actually do with them?. This post coverage how to leverage Active Patterns to make your code simpler and easier to understand. In particular, how you can use Regular Expressions in Active Patterns....
  • Chris Smith's completely unique view

    Introduction to F# Active Patterns

    • 4 Comments
    You may have heard of Active Patterns before – typically in conjunction with the words ‘awesome’ or ‘amazing’. Active Patterns are one of the more unique language features in F# and once you get a good feel for them one of the most powerful. This post will demonstrate Active Patterns from single-case and multi-case to partial and parameterized. If it’s called an Active Pattern, you’ll see an example in this post. So let’s get started....
  • Chris Smith's completely unique view

    Pattern matching snippets

    • 3 Comments
    I've written up a few snippets demonstrating F# pattern matching....
Page 1 of 1 (3 items)