Wednesday, January 13, 2010 11:59 AM
by
RickM
F# Discoveries This Week 01/13/2010
Back again this week with a fresh batch of F# Posts, Videos and Events. I’ve been enjoying Matthew Podwysocki’s “Much Ado About Monads” series quite a lot. They are well worth checking out for beginner and advanced alike.
Events
If you would like to see your event here, send me an email via the link at the top of the page.
Rick Minerich - Charleston SC Technology Users Group on the 27th of January (check out the awesome flier)
Steffen Forkmann - Frankfurt .NET Usergroup on the 21st of January
Posts
One simple way to write parallel and reactive programs is with F# async expressions. In this and future posts, I will cover some of the basic ways in which you can use F# async programming - roughly speaking, these are design patterns enabled by F# async programming.
The demos in my F# talks use a number of coding snippets to acquire, generate and display data interactively. Some of these little snippets are not so well known, but they are useful :-)
Here are some tips and tricks for formatting data in F# Interactive. This is not meant to be a comprehensive guide, just enough to get you started. Please let me know if you need more examples.
So, our ultimate goal would be instead to have our environment set once and then read from it implicitly. We still want to keep what we have here in terms of our script, but change the underlying mechanism for how it happens.
I will start by giving an introduction to units-of-measure and their implementation in F#. I'll work through smaller and larger code examples that make use of units-of-measure.
Visual Studio 2010 includes a new programming language, F#. This session explains and provides a walk-through demonstration of basic programming in F#.
This post describes the F# implementation of the <insert data structure here> from Chris Okasaki’s “Purely functional data structures”.
BUT, syntactic similarity does not imply that they're semantically the same. There's a fundamental difference from the original code: Haskell is a lazy language, while F#, coming from the ML-family, does eager evaluation.
I was looking through some of the F# code I've written recently and I realised that I was very much writing C# in F# with respect to the number of if statements I've been using.
As I've mentioned in a few of my recent posts I've been having another go at Roy Osherove's TDD Kata but this time in F#.
A code snippet describing how to subscribe to an event via a weak reference.
I’ve been toying around with F# recently, it’s good to see an example that you can easily compare and contrast with the C# version.
I spent a bunch of time over the holidays getting to know F# a bit better. I think I now consider myself to be truly dangerous with it. A couple of things which repeatedly bit me as I stumbled through learning F# as a n00b.