39da848801bd
chancery: Update site.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Fri, 03 Nov 2017 23:48:28 -0400 |
parents | 54ebe659726f |
children | fd88490d871a |
branches/tags | (none) |
files | chancery/usage/index.html |
Changes
--- a/chancery/usage/index.html Fri Nov 03 21:12:45 2017 -0400 +++ b/chancery/usage/index.html Fri Nov 03 23:48:28 2017 -0400 @@ -157,11 +157,11 @@ <p>Chancery also includes support for weighting the terms so some will be chosen more often than others:</p> <div class="codehilite"><pre><span/><span class="p">(</span><span class="nv">define-rule</span> <span class="p">(</span><span class="nv">metal</span> <span class="ss">:distribution</span> <span class="ss">:weighted</span><span class="p">)</span> - <span class="p">(</span><span class="mi">10</span> <span class="nv">iron</span><span class="p">)</span> - <span class="p">(</span><span class="mi">5</span> <span class="nv">steel</span><span class="p">)</span> - <span class="p">(</span><span class="mi">2</span> <span class="nv">silver</span><span class="p">)</span> - <span class="p">(</span><span class="mi">1</span> <span class="nv">gold</span><span class="p">)</span> - <span class="p">(</span><span class="mi">1</span> <span class="nv">platinum</span><span class="p">))</span> + <span class="p">(</span><span class="mi">10</span> <span class="ss">:iron</span><span class="p">)</span> + <span class="p">(</span><span class="mi">5</span> <span class="ss">:steel</span><span class="p">)</span> + <span class="p">(</span><span class="mi">2</span> <span class="ss">:silver</span><span class="p">)</span> + <span class="p">(</span><span class="mi">1</span> <span class="ss">:gold</span><span class="p">)</span> + <span class="p">(</span><span class="mi">1</span> <span class="ss">:platinum</span><span class="p">))</span> </pre></div>