摘要: 1. Simple values: Functions, parameters, and top-level items defined using let or pattern matching.Examples: form, text, wordCount.简单值:函数,参数和顶层成员定义都使用let或模式匹配来实现。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->letform=newForm()lethighLowab=match 阅读全文
posted @ 2009-11-29 18:16 moonz-wu 阅读(334) 评论(1) 推荐(0) 编辑
摘要: Composing Functions with >>使用>>操作符来组合函数You saw earlier how to use the |> “forward pipe” operator to pipe values through a number of functions. This was a small example of the process of computing with functions, an essential and powerful programming technique in F#. In this section, w 阅读全文
posted @ 2009-11-29 01:03 moonz-wu 阅读(423) 评论(0) 推荐(0) 编辑