Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When were F# unused reserved keywords removed from the specs?

Tags:

.net

keyword

f#

I've read from an article from F# Github before that some of unused reserved keywords had been removed, such as params, and we should use attributes instead.

From the Keyword Reference page, I can't find those removed keywords, where am I able to search for them?

like image 536
MiP Avatar asked May 18 '17 03:05

MiP


People also ask

Does the Navy still fly F-14?

The Tomcat was retired by U.S. Navy on 22 September 2006, having been supplanted by the Boeing F/A-18E/F Super Hornet. Several retired F-14s have been put on display across the US. The F-14 remains in service with Iran's air force, having been exported to Iran under the Pahlavi dynasty in 1976.

Did the F-14 ever see combat?

F-14s provided combat air patrols during Operation Fluid Drive, the evacuation of U.S. citizens from Beirut, Lebanon in 1976. Between 1982 and 1986, F-14s performed combat air patrols and photo-reconnaissance in support of the Multinational Force in Lebanon and U.S. naval operations near the country's coast.

Did the F-14 serve in Vietnam?

The F-14 flew air patrol missions in the last days of the Vietnam War without engaging in combat. In 1981, carrier-based F-14s directly engaged Libyan fighters in air-to-air combat, and in 1986 they flew combat air patrol during bombing operations against that country.

Is the F-15 still relevant?

In 2022, it was announced the USAF plan to retire their fleet of F-15C/Ds by 2026. The Air Force Magazine stated in 2007 that the F-15E was projected to remain in service for many years because of the model's primary air-to-ground role and the low number of hours on the variant's airframes.


1 Answers

You can read about them in the RFC over at the fslang-design repo. The unreserved keywords are:

  • method - the F# community is happy with member to introduce methods.
  • constructor - the F# community is happy with new to introduce constructors.
  • atomic - this was related to the fad for transactional memory circa 2006. In F# this would now be a library-defined computation expression.
  • eager - this is no longer needed, it was initially designed to be let eager to match a potential let lazy.
  • object - there is no need to reserve this.
  • recursive - F# is happy using rec.
  • functor - If F# added parameterized modules, we would use module M(args) = ....
  • measure - There is no specific reason to reserve this these days, the [<Measure>] attribute suffices.
  • volatile - There is no specific reason to reserve this these days, the [<Volatile>] attribute suffices.

This made it into F# 4.1.

like image 85
Nikon the Third Avatar answered Oct 17 '22 06:10

Nikon the Third