Posted By: Kathleen McGrath | Jul 6th @ 7:58 PM | 30,582 Views | 7 Comments

In this video, programming writer, Gordon Hogenson explains and gives examples of patterns in F# and explains the use of the match expression to control branching based on patterns in data. But first, a disclaimer Gordon wanted to make: “Regrettably, I have not been able to retrain myself yet to use the word value instead of variable. In F#, all values are immutable by default, so it’s not really correct to use the term variable, as I do in the video.”   See Part 2 of this video: http://channel9.msdn.com/posts/kmcgrath/Active-Patterns-F/

 

You can also learn more in the topics Patterns and Match Expressions.

 

Kathleen McGrath
Visual Studio User Education
http://blogs.msdn.com/kathleen/

Rating:
1
0

Ok, I'm a great fun of F# as well as IronPython. Besides what he is talking about, i feel his coolness and geeky just because he speaks about F#! Great topic! So cool that he uses glasses!

JoshRoss
JoshRoss
A righteous infliction of retribution manifested by an appropriate agent.

It is great to have some F# videos that are encoded at the higher resolution, so that one can actually see the syntax.  

Having a language that can be run interactivly really helps with trying to demonstrate basic constructs, when you are trying to teach people how to use it.  

I thought that this video / interview was well done.

Charles
Charles
Welcome Change

Kathleen has produced several high quality pieces for C9. Check it out: http://channel9.msdn.com/Niners/kmcgrath/

Thank you Kathleen!!!
C

vesuvius
vesuvius
Das Glasperlenspiel

Thats just the new WPF editor with a Vector based text editor

Speaking of patterns and matching, how do you search for "F#" on Channel9?  I get "Search term too small"...

 

Yes I don't like Microsoft naming; it can be hard to search for F#, C#, .NET

Microsoft Communities