Solved

F# code will not compile.

Posted on 2009-07-03
1
1,795 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
ID: 24772004
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

20 Experts available now in Live!

Get 1:1 Help Now