VS.net 2010 F#
2009-12-13 12:57
211 查看
F#维基百科,自由的百科全书(重定向自F#)
跳转到:
导航,
搜索
汉漢▼▲
F#是由微软发展的为微软.NET语言提供运行环境的程序设计语言,是函数编程语言(FP,Functional
Programming),函数编程语言最重要的基础是Lambda Calculus。它是基于OCaml的,而OCaml是基于ML函数程式语言。有时F#
和 OCaml 的程式是可以交互编译的。
F#已经接近成熟,支援Higher-Order Function、Currying、Lazy Evaluation、Continuations、Pattern Matching、Closure、List Processing、Meta-Programming。这是一个用于显示.NET在不同编程语言间互通的程序设计,可以被.NET中的任意其它代码编译和调用。
2002年微软开始由Don Syme带领研发F#,从C#,LINQ和Haskell中获取了经验,2005年推出第一个版本,2007年7月31日释出1.9.2.9版。2007年底,微软宣布F#进入产品化的阶段。
范例一些小小范例如下:
(* This is a comment *)(* Sample hello world program *)printf "Hello World!"
#lightopen Microsoft.FSharp.Collection.List(* print a list of numbers recursively *)let rec printlist l = (* When using "#light", you must indent with 4 spaces *) if l = [] then else printf "%d/n" (nth l 0) printlist (tl l)
#light(* Sample Windows Forms Program *)(* We need to open the Windows Forms library *)open System.Windows.Forms(* Create a window and set a few properties *)let form = new Form(Visible=true, TopMost=true, Text="Welcome to F#")(* Create a label to show some
text in the form *)let label = let temp = new Label() let x = 3 + (4 * 5) (* Set the value of the Text*) temp.Text <- x (* Remember to return a value! *) temp(* Add the label to the form *)do form.Controls.Add(label)(* Finally, run the form
*)do Application.Run(form)
F# 相容于
XNA Game Studio Express 产品,可允许在 Xbox 360上建构游戏软体。
外部链接
微软F#
F Sharp
Planet F#
.NET Framework架构基础类别库
·
共同语言执行期元件 ·
程式码存取安全性 ·
组件 ·
中介资料 ·
COM互通性共同语言基础架构共同语言基础架构(CLI)
·
共同型别系统 ·
共同中介语言 ·
虚拟执行系统CLI 支援语言共同语言1C#
·
Visual Basic .NET ·
C++/CLI (Managed)
·
J# ·
JScript .NET其他语言2A#
·
Boo ·
Oxygene · F# ·
IronLisp ·
IronPython ·
IronRuby ·
Nemerle ·
Phalanger ·
P# ·
Windows PowerShell应用平台WPF
·
WCF ·
WF (WWF)元件ADO.NET (Entity Framework
·
Data Services) ·
ASP.NET (AJAX
·
MVC ·
Dynamic Data) ·
Remoting ·
LINQ ·
Windows CardSpace ·
Windows Forms ·
XAML ·
ClickOnce ·
Dynamic Language Runtime ·
Parallel FX Library (PLINQ
·
TPL)其他平台实作Mono
·
Compact Framework ·
Micro Framework ·
Portable.NET ·
Silverlight ·
SSCLI比较C# and Java
·
C# and Visual Basic .NET ·
Java and .NET platforms即将推出"Acropolis"
·
"Jasper"1 这些语言都被包含在Visual Studio.
2 被多数使用者使用,且非教学或研究型的语言。取自"http://zh.wikipedia.org/w/index.php?title=F_Sharp&variant=zh-cn"
1个分类:
NET编程语言
跳转到:
导航,
搜索
汉漢▼▲
F#是由微软发展的为微软.NET语言提供运行环境的程序设计语言,是函数编程语言(FP,Functional
Programming),函数编程语言最重要的基础是Lambda Calculus。它是基于OCaml的,而OCaml是基于ML函数程式语言。有时F#
和 OCaml 的程式是可以交互编译的。
F#已经接近成熟,支援Higher-Order Function、Currying、Lazy Evaluation、Continuations、Pattern Matching、Closure、List Processing、Meta-Programming。这是一个用于显示.NET在不同编程语言间互通的程序设计,可以被.NET中的任意其它代码编译和调用。
2002年微软开始由Don Syme带领研发F#,从C#,LINQ和Haskell中获取了经验,2005年推出第一个版本,2007年7月31日释出1.9.2.9版。2007年底,微软宣布F#进入产品化的阶段。
范例一些小小范例如下:
(* This is a comment *)(* Sample hello world program *)printf "Hello World!"
#lightopen Microsoft.FSharp.Collection.List(* print a list of numbers recursively *)let rec printlist l = (* When using "#light", you must indent with 4 spaces *) if l = [] then else printf "%d/n" (nth l 0) printlist (tl l)
#light(* Sample Windows Forms Program *)(* We need to open the Windows Forms library *)open System.Windows.Forms(* Create a window and set a few properties *)let form = new Form(Visible=true, TopMost=true, Text="Welcome to F#")(* Create a label to show some
text in the form *)let label = let temp = new Label() let x = 3 + (4 * 5) (* Set the value of the Text*) temp.Text <- x (* Remember to return a value! *) temp(* Add the label to the form *)do form.Controls.Add(label)(* Finally, run the form
*)do Application.Run(form)
F# 相容于
XNA Game Studio Express 产品,可允许在 Xbox 360上建构游戏软体。
外部链接
微软F#
F Sharp
Planet F#
.NET Framework架构基础类别库
·
共同语言执行期元件 ·
程式码存取安全性 ·
组件 ·
中介资料 ·
COM互通性共同语言基础架构共同语言基础架构(CLI)
·
共同型别系统 ·
共同中介语言 ·
虚拟执行系统CLI 支援语言共同语言1C#
·
Visual Basic .NET ·
C++/CLI (Managed)
·
J# ·
JScript .NET其他语言2A#
·
Boo ·
Oxygene · F# ·
IronLisp ·
IronPython ·
IronRuby ·
Nemerle ·
Phalanger ·
P# ·
Windows PowerShell应用平台WPF
·
WCF ·
WF (WWF)元件ADO.NET (Entity Framework
·
Data Services) ·
ASP.NET (AJAX
·
MVC ·
Dynamic Data) ·
Remoting ·
LINQ ·
Windows CardSpace ·
Windows Forms ·
XAML ·
ClickOnce ·
Dynamic Language Runtime ·
Parallel FX Library (PLINQ
·
TPL)其他平台实作Mono
·
Compact Framework ·
Micro Framework ·
Portable.NET ·
Silverlight ·
SSCLI比较C# and Java
·
C# and Visual Basic .NET ·
Java and .NET platforms即将推出"Acropolis"
·
"Jasper"1 这些语言都被包含在Visual Studio.
2 被多数使用者使用,且非教学或研究型的语言。取自"http://zh.wikipedia.org/w/index.php?title=F_Sharp&variant=zh-cn"
1个分类:
NET编程语言
相关文章推荐
- VS.net 2010 F#
- ASP.NET 4新增功能(四) 其它新功能及VS 2010对ASP.NET 4的支持改进(完)
- VS2010/VS2013项目创建 ADO.NET连接mysql/sql server详细步骤
- vs.net 2010两个数据库方面的好工具
- 艾伟_转载:VS 2010 和 .NET 4.0 系列之《ASP.NET 4 中的SEO改进 》篇
- 一起谈.NET技术,VS 2010 和 .NET 4.0 系列之《自动启动ASP.NET应用》篇
- vs.net 2010 扩展插件小结 提高编程效率
- Creating Packaged ASP.NET Setup Programs with VS 2010
- vs 2010 如何在webform内拖动控件 asp.net
- vs2010打包系统必备选择.net framework 3.5sp1编译错误的解决方法
- SharePoint 2010 VS.net 2010 断点调试
- vs.net2010中使用 Ajax Control Toolkit
- VS 2010Asp.net项目发布出错 TransformXml task failure
- 制作Vs.net 2010 c# 引用vSphere Web Services sdk5.0的dll
- Searching and Navigating Code in VS 2010 (VS 2010 and .NET 4.0 Series)
- VS 2005 / 2008 / 2010 能否继续使用 ASP.NET 1.x版的DataGrid ????
- 艾伟_转载:VS.NET 2010 新功能 [整理]
- vs.net 2010中使用code snippets
- ASP.NET 4 和 VS2010 Web 开发概述 7 - 使用 VS 2010 开发 Web 应用程序
- VS.NET2010中水晶报表应用与部署[VS2010]