Learn about Microsoft's new language, F#, a typed functional programming language for the Microsoft .NET Framework. F# combines functional programming with the runtime support, libraries, tools, and object model of .NET. Understand how F# asynchronous workflows help tame the complexity of parallel and asynchronous I/O programming and how to use F# in conjunction with tools such as Parallel Extensions for .NET.
  • Luca Bolognese
Downloads: Powerpoint Deck
stevo_
stevo_
Maim that tune
This is really really cool, exactly what I've wanted to see in regards to F#.. I've seen so many little examples that really didn't help me envisage using this every day..

let the |> fun commence

(hurr!)
Wow - this the best show I've seen here so far - it even outperforms "don't fear the monads" Smiley
Hope to see more of this stuff around.

Thanks for the fun !
Art Scott
Art Scott
Semasiographologist
Appaluse!

Encore.
Yea, I really enjoyed this presentation . One of best. It gives nice tasting of F#. I recommend this. 
regarding the pipeline (|>) operator example: couldn't one just write Seq.sum(Seq.map(nums,sqr) and get done with it?
ysw
ysw

|> is like . (dot) in C# - especially when talking about extension methods.

gustavo
gustavo
Me
Thank you so much.  So much F# in so little time.  I've already had some fun with this language, and your presentation helps me to understand how to solve some practical business problems (like I do with C# and VB.NET, presently).

Kudos!

Great Presentation!
I am watchin git for the second time and coding along through the demo. However,  I am getting an error in the StockAnalyzer type... 

type StockAnalyzer (lprices, days) =

let prices =
        lprices
        |> Seq.map snd
        |> Seq.take days
static member GetAnalyzers (tickers,days) = 
    tickers
    |> Seq.map loadPrices
    |> Seq.map (fun prices -> new StockAnalyzer (prices, days))
member s.Return = 
    let lastPrice = prices |> Seq.nth 0
    let startPrice = prices |> Seq.nth (days - 1)    
    lastPrice / startPrice -1.

... the last line is not working ... getting "This value is not a function and cannot be applied" error when mouseover startPrice variable. Any advice for f# newbie? I am running the 1.9.6.2 version of f# with VS  integrated shell.
Thanks!
mspan
www.fsharpener.blogspot.com

Isn't something like this more succinct but just as expressive without losing the declarative nature?

exm.

let sumOfSquares nums = sum (each nums sqr)

sumOfSquares [0,2,5,8]
Microsoft Communities