Solved

F# code will not compile.

Posted on 2009-07-03
1
1,793 Views
Last Modified: 2013-11-10
Hi Experts,

I have downloaded an F# MS Visual Studio solution and it will not compile. The code is a chess rating alorithm written by the Microsoft Research Labs. The link to their blog is as follows:

http://blogs.technet.com/apg/archive/2008/04/05/trueskill-through-time.aspx

and the VS solution can be downloaded here:

http://msdn.microsoft.com/en-us/fsharp/default.aspx

Could someone please give it a go a see if it works for them.

I am using VS 2010
0
Comment
Question by:DColin
1 Comment
 
LVL 39

Accepted Solution

by:
abel earned 500 total points
Comment Utility
Your problem lies in the Microsoft.FSharp.Reflection.Value namespace, which is not available on the newer releases of FSharp. I researched all FSharp libraries to find out where the types like GetSumTagConverters, GetSumTagReader and IsOptionType has gone to, but all of them seem to have disappeared from the radar.

The Microsoft Research Team page that describes this namespace, has also disappeared, it used to be located here:http://research.microsoft.com/fsharp/manual/FSharp.Core/Microsoft.FSharp.Reflection.Value.html but has vanished.

I have written to the bugs team of F# to ask for clarification on what to use instead. You may also want to write yourself to the blog-writer to update the code to work with the newest releases of F#. The language F# is still in development, changes like these can happen from version to version. And there's been quite some moving around of types and namespaces.

-- Abel --

PS: you were the first to ask in the F# zone. Hope that there'll be more to come :)
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now