我知道VS 2010有F#2.0和VS 2012 - F#3.0.但是如何才能获得F#版本号,例如F#interactive?是否有一些命令,例如:
#ver;;?谢谢.
pad*_*pad 10
当你在VS中启动F#Interactive窗口时,你会得到类似的东西:
Microsoft (R) F# 2.0 Interactive build 2.0.5.0
Copyright (c) 2002-2010 Microsoft Corporation. All Rights Reserved.
For help type #help;;
> [Loading init.fsx]
>
Run Code Online (Sandbox Code Playgroud)
其中包括您需要的一切.
要打开F#交互式窗口,可以按:Ctrl+ Alt+ F.
更新(5/16/2018):
在VS 2017中,信息格式似乎有所改变.语言版本最终出现:
Microsoft (R) F# Interactive version 10.1.0 for F# 4.1
Copyright (c) Microsoft Corporation. All Rights Reserved.
Run Code Online (Sandbox Code Playgroud)