<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Y-combinator code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Mon, 08 Sep 2008 03:34:56 GMT</pubDate>
    <description>DZone Snippets: Y-combinator code</description>
    <item>
      <title>the applicative-order Y-combinator</title>
      <link>http://snippets.dzone.com/posts/show/2732</link>
      <description>// description of your code here&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;(define Y&lt;br /&gt;  (lambda (f)&lt;br /&gt;    (let ((future&lt;br /&gt;            (lambda (future)&lt;br /&gt;              (f (lambda (arg) &lt;br /&gt;                   ((future future) arg))))))&lt;br /&gt;      (future future))))&lt;br /&gt;&lt;br /&gt;((Y (lambda (factorial)&lt;br /&gt;      (lambda (n)&lt;br /&gt;        (if (= n 0)&lt;br /&gt;            1&lt;br /&gt;            (* n (factorial (- n 1)))))))&lt;br /&gt; 42)&lt;/code&gt;</description>
      <pubDate>Fri, 29 Sep 2006 19:32:05 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/2732</guid>
      <author>frontera000 (bob bae)</author>
    </item>
  </channel>
</rss>
