Monday, 31 October 2011

Mine sweeper in 99 lines of F# code


Tomas Petricek's excellent F# Snippets site is a gold mine of educational samples. This mine sweeper in 99 lines of code is no exception!


Thursday, 27 October 2011

Using SQL Server Compact Edition

The F#.NET Journal just published an article about databases:

"In addition to the heavy weight SQL Server 2008 and its free sibling SQL Express, Microsoft also offer a light-weight database called SQL Server Compact Edition (CE) that requires fewer resources and, in particular, can be run from a DLL and does not require installation or background services. This article walks through the use of the Northwind database from SQL Server CE including a WPF-based user interface built upon asynchronous message passing..."

To read this article and more, subscribe to The F#.NET Journal today!

Observables and Reactive Extensions

The F#.NET Journal just published an article about event-based programming:

"Various recent additions to the .NET Framework have encouraged event-based programming, including observables and the recent Reactive Extensions (Rx) library. This article reviews the basic properties of observables and some of the core functionality in the Rx library before taking a look at a common problem in event-based programming: subscribing to a state machine..."

To read this article and more, subscribe to The F#.NET Journal today!