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 Prim[...]
.
0
comment
on 10/11/2010 4:27 AM
One of the small gems that will be available in Akka 1.0 is that ThreadBasedDispatcher is based upon ExecutorBasedEventDrivenDispatcher with a core thread pool of 1 and a max thread pool of 1 that allows core thread timeouts. This means that Actors with T[...]
.
0
comment
on 10/9/2010 12:04 PM
One very popular habit in F# is tail recursion. Tail recursion allows you to recurse without worrying about stack overflow. But there is a very dangerous problem – infinite recursion. Now, let’s say we have a function which doesn’t have a name which indic[...]
.
0
comment
on 10/9/2010 11:43 AM
If you have any experience in Haskell, you know the IO monad. Some people think it just makes things ugly – but I think it is good, since we are functional programming and we should know when we are using an impure function. What we will do is to define a[...]
.
0
comment
on 10/9/2010 10:54 AM
F# is a great language, but its support is a bit limited. For example, you can make a WPF project in F# but you cannot use XAML. In this post I will demonstrate how to create a simple calculator using F#, WPF and XAML. I did not compare the efficiency to [...]
.
0
comment
on 10/6/2010 11:08 AM
I am very excited about my recent Microsoft MVP 2010 award for my work in F#, and I would like to thank everyone who has recommended me for receiving this award. Foremost, I would like to thank ...
.
0
comment
on 9/30/2010 12:50 AM
Last week I had a Community for F# talk on WebSharper where I presented a small WebSharper application to implement a client-based, persistent shopping cart, and I received numerous emails asking for the source code for that talk. So in this post I am go[...]
.
0
comment
on 9/29/2010 11:07 AM
I have had troubles writing unit tests for classes with a lot of dependencies. The reason for this is that the initialization of the state for my test code would look like: [Setup] public void Setup() {    stub1 = new Mock(); …   stub20 = new Mock();   mo[...]
.
0
comment
on 9/27/2010 2:29 AM
This one was not easy to discover, so I’m going to post it here for future reference. In C:\Program Files\Microsoft Office\Office12\Bibliography\Style\Iso690Nmerical.xsl change the following lines: <xsl:template name="templ_prop_OpenBracket" > [...]
.
0
comment
on 9/26/2010 4:00 PM
.
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

Logging in...