<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>46205</integer>
    </number>
    <user>
      <string>brucehoult</string>
    </user>
    <title>
      <string>silly fib example</string>
    </title>
    <contents>
      <string>module: hello

define generic fib(n :: &lt;integer&gt;) =&gt; (res :: &lt;integer&gt;);

define method fib(n :: &lt;integer&gt;) =&gt; (res :: &lt;integer&gt;);
  fib(n - 1) + fib(n - 2);
end;

define method fib(n == 0) =&gt; (res :: &lt;integer&gt;); 0 end;
define method fib(n == 1) =&gt; (res :: &lt;integer&gt;); 1 end;


define function main(name, arguments)
  format-out(&quot;fib(10) = %d&quot;, fib(10));
  exit-application(0);
end function main;

// Invoke our main() function.
main(application-name(), application-arguments());

</string>
    </contents>
    <universal-time>
      <integer>3396228363</integer>
    </universal-time>
    <channel>
      <string>#dylan</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
  </paste>
</paste-with-annotations>