Marc Sigrist's blog articles

0
comment
on 10/19/2010 2:53 PM
In F#, class constructors can be declared in several different ways. To declare a non-static class, one usually defines a primary constructor, plus zero or more additional constructors. To declare a static class, one usually defines a module. Using a Primary Constructor In F#, it is possible to create a thread-safe singleton with just three lines of code: /// A public thread-safe singleton class in F#, /// using a private primary constructor. type Singleton private() = static let instance = Singleton()[...]
>> Read the full article
.
0
comment
on 10/19/2010 2:53 PM
In F#, class constructors can be declared in several different ways. To declare a non-static class, one usually defines a primary constructor, plus zero or more additional constructors. To declare a static class, one usually defines a module. Using a Primary Constructor In F#, it is possible to create a thread-safe singleton with just three lines of code: /// A public thread-safe singleton class in F#, /// using a private primary constructor. type Singleton private() = static let instance = Singleton()[...]
>> Read the full article
.
0
comment
on 4/11/2010 3:33 PM
Title: Programming F# Subtitle: A comprehensive guide for writing simple code to solve complex problems Publisher: O'Reilly® Author: Chris Smith Date of appearance: October, 2009 (416 Pages) The new version of Visual Studio is officially released today, April 12, 2010. It contains a new language called „F#“, designed by Don Syme of Microsoft Research Cambridge, UK. F# is a programming language that has capacities comparable to C#, but also offers the possibilities of a functional language. [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper