Solved

F# code will not compile.

Posted on 2009-07-03
1
1,798 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

840 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