<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-882821950355432699.post5607304750091653875..comments</id><updated>2011-09-24T10:33:52.092+10:00</updated><category term='C#'/><category term='LINQ'/><category term='Domain Driven Design'/><category term='Microsoft'/><category term='Compilers'/><category term='Git'/><category term='Messaging'/><category term='Ruby'/><category term='Y Combinator'/><category term='Generalizing this Specialist'/><category term='WebSocket'/><category term='Linux'/><category term='Podcast'/><category term='Rails'/><category term='Reactive Framework'/><category term='Fluent NHibernate'/><category term='Android'/><category term='SOA'/><category term='Azure'/><category term='Unit Testing'/><category term='Google'/><category term='ASP.NET MVC'/><category term='Node'/><category term='Books'/><title type='text'>Comments on Paul Batum: Refactoring Towards the Y Combinator: Part 6</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.paulbatum.com/feeds/5607304750091653875/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default'/><link rel='alternate' type='text/html' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html'/><author><name>Paul</name><uri>http://www.blogger.com/profile/18224234643439645641</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://bp2.blogger.com/_AP_-f1YlmB4/R32Ne_AIf1I/AAAAAAAAAGQ/uJyFPusXNd8/S220/me_small3.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-6362387644197378843</id><published>2011-05-25T23:49:40.770+10:00</published><updated>2011-05-25T23:49:40.770+10:00</updated><title type='text'>// One-argument Y-Combinator  Y fixed-point combin...</title><content type='html'>// One-argument Y-Combinator  Y fixed-point combinator.&lt;br /&gt;        public static Func Y(Func, Func&amp;gt; f)&lt;br /&gt;        {&lt;br /&gt;            return&lt;br /&gt;                t =&amp;gt; // A function that...&lt;br /&gt;                f( // Calls the factorial creator, passing in...&lt;br /&gt;                    Y(f) // The result of this same Y-combinator function call...&lt;br /&gt;                    // (Here is where the recursion is introduced.)&lt;br /&gt;                    )&lt;br /&gt;                    (t); // And passes the argument into the work function.&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        [TestMethod]&lt;br /&gt;        public void TestMethodY()&lt;br /&gt;        {&lt;br /&gt;            Func fib = Y(f =&amp;gt; n =&amp;gt; n &amp;gt; 1 ? f(n - 1) + f(n - 2) : n);&lt;br /&gt;            Func fact = Y(f =&amp;gt; n =&amp;gt; n &amp;gt; 1 ? n*f(n - 1) : 1);&lt;br /&gt;            Console.WriteLine(fib(6)); // displays 8&lt;br /&gt;            Console.WriteLine(fact(6)); // displays 720&lt;br /&gt;        }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/6362387644197378843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/6362387644197378843'/><link rel='alternate' type='text/html' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html?showComment=1306331380770#c6362387644197378843' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1060709623'/></entry><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-2825447596282492332</id><published>2010-10-10T01:59:53.401+11:00</published><updated>2010-10-10T01:59:53.401+11:00</updated><title type='text'></title><content type='html'>This comment has been removed by a blog administrator.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/2825447596282492332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/2825447596282492332'/><author><name>aldactone 100 mg</name><uri>http://www.sundrugstore.com/aldactone-c-222_226.html</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1510819658'/></entry><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-607058664934469045</id><published>2010-10-10T01:58:58.819+11:00</published><updated>2010-10-10T01:58:58.819+11:00</updated><title type='text'></title><content type='html'>This comment has been removed by a blog administrator.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/607058664934469045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/607058664934469045'/><author><name>aldactone 100 mg</name><uri>http://www.sundrugstore.com/aldactone-c-222_226.html</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1510819658'/></entry><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-6569615861337040888</id><published>2010-04-26T05:24:06.222+10:00</published><updated>2010-04-26T05:24:06.222+10:00</updated><title type='text'>Very good writing! I actually got it this time.
No...</title><content type='html'>Very good writing! I actually got it this time.&lt;br /&gt;No constructive critisism this time, sorry :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/6569615861337040888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/6569615861337040888'/><link rel='alternate' type='text/html' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html?showComment=1272223446222#c6569615861337040888' title=''/><author><name>asgerhallas</name><uri>http://www.blogger.com/profile/10467497752737917415</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-130327146'/></entry><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-6832445570254143150</id><published>2010-03-05T07:08:13.296+11:00</published><updated>2010-03-05T07:08:13.296+11:00</updated><title type='text'></title><content type='html'>This comment has been removed by a blog administrator.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/6832445570254143150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/6832445570254143150'/><author><name>generic viagra</name><uri>http://www.xlpharmacy.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-605344999'/></entry><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-1969791151791705159</id><published>2009-06-02T22:14:44.565+10:00</published><updated>2009-06-02T22:14:44.565+10:00</updated><title type='text'>This is a great series, and very nicely explained....</title><content type='html'>This is a great series, and very nicely explained.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/1969791151791705159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/1969791151791705159'/><link rel='alternate' type='text/html' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html?showComment=1243944884565#c1969791151791705159' title=''/><author><name>Wekoslav Stefanovski</name><uri>http://www.blogger.com/profile/03042171009085859495</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1681482412'/></entry><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-9193027515599676004</id><published>2009-05-24T22:47:31.093+10:00</published><updated>2009-05-24T22:47:31.093+10:00</updated><title type='text'>Really glad to hear it fairweather. Thanks for the...</title><content type='html'>Really glad to hear it fairweather. Thanks for the comment!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/9193027515599676004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/9193027515599676004'/><link rel='alternate' type='text/html' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html?showComment=1243169251093#c9193027515599676004' title=''/><author><name>Paul</name><uri>http://www.blogger.com/profile/18224234643439645641</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://bp2.blogger.com/_AP_-f1YlmB4/R32Ne_AIf1I/AAAAAAAAAGQ/uJyFPusXNd8/S220/me_small3.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1426392365'/></entry><entry><id>tag:blogger.com,1999:blog-882821950355432699.post-7668474299113920896</id><published>2009-05-24T04:10:04.184+10:00</published><updated>2009-05-24T04:10:04.184+10:00</updated><title type='text'>Thank you for this series, it's really enjoyable
-...</title><content type='html'>Thank you for this series, it's really enjoyable&lt;br /&gt;-fairweather</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/7668474299113920896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/882821950355432699/5607304750091653875/comments/default/7668474299113920896'/><link rel='alternate' type='text/html' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html?showComment=1243102204184#c7668474299113920896' title=''/><author><name>fairweatherinbg</name><uri>http://fairweatherinbg.livejournal.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.paulbatum.com/2009/01/refactoring-towards-y-combinator-part-6.html' ref='tag:blogger.com,1999:blog-882821950355432699.post-5607304750091653875' source='http://www.blogger.com/feeds/882821950355432699/posts/default/5607304750091653875' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1198617953'/></entry></feed>
