Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any benefit for targeting F# runtime for F# 4.0 or 3.1 instead of 3.0?

Tags:

f#

In Visual Studio 2015 Preview you can select from three target F# runtimes:

enter image description here

Is there any benefit to targeting the newer versions? Do they give you access to additional APIs? If so, which ones? It would be great if we could generate a comprehensive list.

F# Core Library Reference

like image 296
Cameron Taggart Avatar asked Dec 08 '14 17:12

Cameron Taggart


People also ask

What is the importance of targeting?

Targeting in marketing is important because it's a part of a holistic marketing strategy. It impacts advertising, as well as customer experience, branding, and business operations. When your company focuses on target market segmentation, you can do the following: Speak directly to a defined audience.

Is Facebook targeting effective?

Facebook ad targeting helps you define the audience that will see your ads. It can improve the effectiveness of your campaigns — but it will also affect the cost of your ads (in very simple terms, reaching a larger audience is more expensive than reaching a smaller one).

What is meant by targeting?

the act of attempting to appeal to a person or group or to influence them in some way. the targeting of young people as potential buyers. 3. the act of directing or aiming something at a particular group of people.


2 Answers

Unfortunately, I don't think there is a complete list of things that you get from referencing F# 4.0. However, looking at the list of new things on CodePlex, there are a few obvious ones:

  • Lots of new functions in List, Seq and Array modules (so that equivalent functionality is available in all of the modules where possible)

  • A number of other library additions (search the table for "Library"), including things like tryUnbox, isNull, ofObj, toObj, ofNullable, toNullable but also AwaitTask for non-generic tasks

  • Out of the language features, the support for quoting arguments of method calls is definitely one that requires the new F# core.

Also, I'm not quite sure which of these are actually in the preview - I suspect most of them are not.

like image 89
Tomas Petricek Avatar answered Sep 19 '22 04:09

Tomas Petricek


I was able to generate a complete list of new additions to the public surface area of FSharp.Core for 3.1 and 4.0. The code I used to generate the list of differences is included and can be re-purposed.

https://gist.github.com/ctaggart/0205da3f153cd20b099d

like image 37
Cameron Taggart Avatar answered Sep 18 '22 04:09

Cameron Taggart