Source Code for Programming F#

I've gotten a few requests recently for the source code of the examples in Programming F#. I've attached them as a series of F# Script files. In the ZIP file you'll find a few gems such as:

  • A 'state' computation expression
  • Examples of F# Asynchronous Workflows and the Parallel Extensions to .NET
  • References for writing OO code in F#, including advanced stuff like Delegates and Events
  • Code for F# interop such as P/Invoke signatures

And as always, any code released on this blog it comes with the standard disclaimer:

All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. So in other words, if the attached source files cause you any grief whatsoever you can’t blame me, O'Reilly Media, or Microsoft.

ProgrammingFSharpCode.zip