?
Solved

F# code will not compile.

Posted on 2009-07-03
1
Medium Priority
?
1,810 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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

800 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