Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (23 sloc) 6.261 kB
<!DOCTYPE html> <html> <head> <title>theres-a-bluebird-in-my-heart.js</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> <script type="text/javascript"> if (window.location.hostname != '') { return; } var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32602307-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + ''; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <div id="container"> <div id="background"></div> <div id="jump_to"> Jump To &hellip; <div id="jump_wrapper"> <div id="jump_page"> <a class="source" href="code-equals-data-equals-code.html"> code-equals-data-equals-code.js </a> <a class="source" href="fontbomb.html"> fontbomb.js </a> <a class="source" href="frontend-architecture-patterns.html"> frontend-architecture-patterns.js </a> <a class="source" href="functional-programming.html"> functional-programming.js </a> <a class="source" href="index.html"> index.js </a> <a class="source" href="interview-problems-dependency-manager.html"> interview-problems-dependency-manager.js </a> <a class="source" href="js-flow-control.html"> js-flow-control.js </a> <a class="source" href="meebo-jquery.html"> meebo-jquery.js </a> <a class="source" href="reentrant-exceptions.html"> reentrant-exceptions.js </a> <a class="source" href="rsvp.html"> rsvp.js </a> <a class="source" href="theres-a-bluebird-in-my-heart.html"> theres-a-bluebird-in-my-heart.js </a> </div> </div> </div> <table cellpadding="0" cellspacing="0"> <tbody> <tr id="section-1"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-1">&#182;</a> </div> <p>messing around with combinators, functional programming, and javascript.</p> </td> <td class="code"> <div class="highlight"><pre><span class="cm">/* there&#39;s a bluebird in my heart that</span>
<span class="cm"> wants to get out</span>
<span class="cm"> -- Bukowski */</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">&#182;</a> </div> <p>outline in brief:</p>
<li>production-strength thunks and trampolines implementation</li>
<li>update the code to handle combinators</li>
<li>crank through the birdies: dfn, ex, when to use (like a patterns book)</li>
<li>mention any other important HOFs from lisp or haskell</li>
<li>structure a small app using these in contrast to typical object approach</li>
</ul> </td> <td class="code"> <div class="highlight"><pre></pre></div> </td> </tr> <tr id="section-3"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-3">&#182;</a> </div> <p>refs:</p>
<p><strong>Suspending evaluation (thunks/trampolines)</strong></p>
<li>Astonishingly well-written: <a href=""></a></li>
<li>Another treatment for comparison: <a href="">utrechthaskellcompiler</a></li>
</ul> </td> <td class="code"> <div class="highlight"><pre></pre></div> </td> </tr> <tr id="section-4"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-4">&#182;</a> </div> <p><strong>Combinatory stuff</strong></p>
<li><em>Mock a Mockingbird</em> <a href="">summarized in Scheme:</a></li>
<li><a href="">Raganwald's articles on the birdie combinators</a></li>
</ul> </td> <td class="code"> <div class="highlight"><pre></pre></div> </td> </tr> <tr id="section-5"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-5">&#182;</a> </div> <p><strong>Related functional programming bits</strong></p>
<li><a href="">osteele's functional.js, including a swell string notation for lambdas</a></li>
<li><a href="">lazutkin's article on porting functional and some recursion combinators to dojo</a></li>
</ul> </td> <td class="code"> <div class="highlight"><pre></pre></div> </td> </tr> </tbody> </table> </div> </body> </html>
Jump to Line
Something went wrong with that request. Please try again.