efd3010b387b
chancery: Update site.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Fri, 03 Nov 2017 21:00:06 -0400 |
parents | c8d216ae9ab0 |
children | 54ebe659726f |
branches/tags | (none) |
files | chancery/usage/index.html |
Changes
--- a/chancery/usage/index.html Fri Nov 03 01:05:46 2017 -0400 +++ b/chancery/usage/index.html Fri Nov 03 21:00:06 2017 -0400 @@ -176,9 +176,9 @@ </pre></div> -<p>The Zipf distribution can itself take an argument <code>exponent</code>, which is the -exponent characterizing the distribution. The default is <code>1.0</code>, and larger -exponents will result in the earlier terms being chosen more often:</p> +<p>The Zipf distribution can take an argument <code>exponent</code>, which is the exponent +characterizing the distribution. The default is <code>1.0</code>, and larger exponents +will result in the earlier terms being chosen more often:</p> <div class="codehilite"><pre><span/><span class="p">(</span><span class="nv">define-rule</span> <span class="p">(</span><span class="nv">foo</span> <span class="ss">:distribution</span> <span class="ss">:zipf</span><span class="p">)</span> <span class="ss">:a</span> <span class="ss">:b</span> <span class="ss">:c</span> <span class="ss">:d</span> <span class="ss">:e</span><span class="p">)</span> @@ -397,8 +397,8 @@ is getting too hairy and needs to be split into simpler parts, just like you would for any other Lisp function.</p> <h2 id="examples">Examples</h2> -<p>If you want some less trivial examples than the ones seen here you might want to -take a look at some of the Twitter bots I've built with Chancery:</p> +<p>If you want some less trivial examples than the ones seen here, you might want +to take a look at some of the Twitter bots I've built with Chancery:</p> <ul> <li><a href="http://twitter.com/git_commands">@git_commands</a> (<a href="https://github.com/sjl/magitek/blob/master/src/robots/git-commands.lisp">code</a>)