<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx</link><description>Last Tuesday I gave a talk to the .NET Developers Association entitled Language Oriented Programming in F# . You can find a video of the presentation here *. This essay is the written version of that presentation, which unfortunately doesn’t translate</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Language Oriented Programming and Functional Unit Testing in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#8572721</link><pubDate>Wed, 04 Jun 2008 08:05:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8572721</guid><dc:creator>Matthew Podwysocki</dc:creator><description>&lt;p&gt;As I&amp;amp;#39;ve covered earlier , I&amp;amp;#39;m very interested in the unit testing and behavior testing story&lt;/p&gt;
</description></item><item><title>Language Oriented Programming and Functional Unit Testing in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#8572727</link><pubDate>Wed, 04 Jun 2008 08:10:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8572727</guid><dc:creator>Matthew Podwysocki's Blog</dc:creator><description>&lt;p&gt;As I've covered earlier , I'm very interested in the unit testing and behavior testing story in F# and&lt;/p&gt;
</description></item><item><title>Language Oriented Programming and Functional Unit Testing in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#8572741</link><pubDate>Wed, 04 Jun 2008 08:27:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8572741</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;As I&amp;amp;#39;ve covered earlier , I&amp;amp;#39;m very interested in the unit testing and behavior testing story&lt;/p&gt;
</description></item><item><title>re: Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#8574741</link><pubDate>Thu, 05 Jun 2008 10:56:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8574741</guid><dc:creator>Dominic Cooney</dc:creator><description>&lt;p&gt;In poker you typically don't play with jokers in the deck.&lt;/p&gt;
</description></item><item><title>Language Oriented Programming</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#8625512</link><pubDate>Fri, 20 Jun 2008 18:12:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8625512</guid><dc:creator>The Hogg Blog</dc:creator><description>&lt;p&gt;Chris Smith from the F# team has an awesome blog post on language oriented programming - and specifically&lt;/p&gt;
</description></item><item><title>re: Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#8936067</link><pubDate>Tue, 09 Sep 2008 10:44:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8936067</guid><dc:creator>guruparan</dc:creator><description>&lt;p&gt;I find it little difficult to understand!!..maybe once i work with a practical hello world app, may be i will get to used to F#....currently i work in c# &amp;amp; VB.net&lt;/p&gt;
</description></item><item><title>Scripting in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#8948105</link><pubDate>Fri, 12 Sep 2008 23:39:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8948105</guid><dc:creator>Chris Smith's completely unique view</dc:creator><description>&lt;p&gt;The thing you hear most about F# is that it is multi-paradigm , meaning that you can use it to code in&lt;/p&gt;
</description></item><item><title>在F#中进行单元测试</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9116672</link><pubDate>Tue, 18 Nov 2008 08:35:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9116672</guid><dc:creator>Anders Cui</dc:creator><description>&lt;p&gt;单元测试是开发者编写的一小段代码，用于检验被测代码的一个很小的、很明确的功能是否正确。通常情况下，一个单元测试（用例）用于判断某个特定条件（或场景）下特定函数的行为。如果想对单元测试的好处有更多的了解...&lt;/p&gt;
</description></item><item><title>F#探险之旅（七）：在F#中进行单元测试</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9116862</link><pubDate>Tue, 18 Nov 2008 08:55:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9116862</guid><dc:creator>Anders Cui</dc:creator><description>&lt;p&gt;本文介绍了在F#中如何使用NUnit和FsUnit进行单元测试。可以看到两者都很简单，前者简单是因为能很好地延续在C#中的方式，迁移过来不要费多大力气；后者简单是因为它接近自然语言，看起来很亲切，比如我们可以写出fruits |&lt;/p&gt;
</description></item><item><title>re: Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9444072</link><pubDate>Wed, 25 Feb 2009 16:38:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9444072</guid><dc:creator>HomerS</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;Can I use those active patterns with my own operators?&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;match myString with&lt;/p&gt;
&lt;p&gt;| (=~ &amp;quot;\d+?&amp;quot;) res -&amp;gt; printfn &amp;quot;Result: %A&amp;quot; res.[0]&lt;/p&gt;
&lt;p&gt;| _ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; printfn &amp;quot;/&amp;quot;&lt;/p&gt;
&lt;p&gt;Is &lt;/p&gt;
&lt;p&gt;match list with&lt;/p&gt;
&lt;p&gt;| (x::xs) -&amp;gt; ...&lt;/p&gt;
&lt;p&gt;also some kind of active pattern?&lt;/p&gt;
</description></item><item><title>re: Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9444435</link><pubDate>Wed, 25 Feb 2009 21:49:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9444435</guid><dc:creator>ChrSmith</dc:creator><description>&lt;p&gt;Interesting question. After poking around it does not look that you can use symbolic names for Active Pattern tags, though I can see how they could be useful.&lt;/p&gt;
&lt;p&gt;As for matching against lists, that isn't an active pattern but rather some syntactic sugar built into the language. Pattern match rules can have one of several forms:&lt;/p&gt;
&lt;p&gt;() -&amp;gt; unit&lt;/p&gt;
&lt;p&gt;(a,b,..., x) -&amp;gt; tuple&lt;/p&gt;
&lt;p&gt;[] -&amp;gt; empty list&lt;/p&gt;
&lt;p&gt;[a;b;...;x] -&amp;gt; list&lt;/p&gt;
&lt;p&gt;a::b::c::x -&amp;gt; list&lt;/p&gt;
&lt;p&gt;[| |] -&amp;gt; empty array&lt;/p&gt;
&lt;p&gt;[| a; b;...;x |] -&amp;gt; array&lt;/p&gt;
&lt;p&gt;etc.&lt;/p&gt;
&lt;p&gt;It is a way for you to match against the structure of the data as well as decompose its contents.&lt;/p&gt;
</description></item><item><title>re: Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9446683</link><pubDate>Thu, 26 Feb 2009 18:05:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9446683</guid><dc:creator>HomerS</dc:creator><description>&lt;p&gt;Thanks for your answer.&lt;/p&gt;
&lt;p&gt;There is no way to define little (preprocessor) macros which could expand some symbolic notations into conventional pattern matching syntax? It would be more flexible than depending on built-in syntactic sugar.&lt;/p&gt;
&lt;p&gt;This would also be quite useful in decomposing user-defined datastructures.&lt;/p&gt;
</description></item><item><title>re: Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9501797</link><pubDate>Mon, 23 Mar 2009 19:41:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9501797</guid><dc:creator>Christian</dc:creator><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;please help me I have this error:&lt;/p&gt;
&lt;p&gt;&amp;quot;error FS0039: The field, constructor or member 'ReadToEndAsync' is not defined.&amp;quot;&lt;/p&gt;
</description></item><item><title>re: Language Oriented Programming in F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9502472</link><pubDate>Mon, 23 Mar 2009 23:27:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9502472</guid><dc:creator>ChrSmith</dc:creator><description>&lt;p&gt;Please add a reference to 'FSharp.PowerPack.dll', I'll update this post to indicate that.&lt;/p&gt;
&lt;p&gt;Sorry for the confusion,&lt;/p&gt;
&lt;p&gt;-Chris&lt;/p&gt;
</description></item><item><title>INTRODUCING F#</title><link>http://blogs.msdn.com/chrsmith/archive/2008/05/30/language-oriented-programming-in-f.aspx#9643967</link><pubDate>Wed, 27 May 2009 11:21:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9643967</guid><dc:creator>Web开发技术</dc:creator><description>&lt;p&gt;第一篇，从零开始编写我们的第一个F#程序。 什么是F#，我为何要学它？ F#是一种.NET平台上的 函数式编程 语言。就像C#和VB.NET，F#可以利用.NET的核心类库，如 WPF ， WCF ，&lt;/p&gt;
</description></item></channel></rss>