Solved

F# code will not compile.

Posted on 2009-07-03
1
1,805 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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