NB! For some strange reason some sample code for this post was rejected by the server with “BLOCKED EXPRESSION” error. After several attempts to fix the problem, I converted code snippets to images. All three blog posts are combined now in an article that is published at CodeProject . The first post...
In the previous post we have shown an F# program that calculates derivatives. It has a room for improvement in its presentation part: resulting expressions often can be rewritten in a simpler form, and F# suits very well to solve such task. We will be using the same set of expression primitives and active...
I am learning F#, and one of the best areas to use a functional language is to apply it to symbolic calculations. Like evaluating function derivatives. I remember how I was impressed many years ago when I looked at a program in Prolog that occupied not more than one computer screen but could tell me...
Today I spent a few hours on mysterious error. One automated test failed, and since it was actually an integration test with complex setup, tracking down the failure was not easy. The problem that I’ve eventually found can be illustrated with a couple of tests: [Test] public void BadClosureTest() { int...
Serializing lambda expressions using MetaLinq , by Onur Gumus. Remoting lambda expressions , by Casey Marshall. Expression tree serialization project.
Latest Jeremy Miller’s article in MSDN Magazine will be very helpful for C# developers who haven’t started yet exploring functional programming. What is good about this article is that it gives practical advices on how to inject some fairly small pieces of functional programming into existing C# code...
I’ll be speaking at the Microsoft Developer Days 2009, in the Academic Guestlecture. This session will take place friday at 16:30 in the Central America lecture room. Since its start in 1991, Microsoft Research has attrated numeral theoretical computer scientists like Turing Award winners Anthony...