Skip to content

Commit 861574e

Browse files
author
Quarto GHA Workflow Runner
committed
Built site for gh-pages
1 parent 96eab78 commit 861574e

11 files changed

Lines changed: 1265 additions & 51 deletions

File tree

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2c5d4a59
1+
09caf5c2

civitas/authors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ <h1 class="title">Authors</h1>
339339
<script src="civitas/authors_files/md-default1.js" type="text/javascript"></script>
340340
<p>You belong here!</p>
341341
<p>Thank you for sharing your ideas.</p>
342-
<div class="card-group"><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/171129?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://github.com/puredanger">Alex Miller</a></h5></div><a href="https://github.com/puredanger"><i class="github"></i>GitHub</a>:clojure.core</div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/36110?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://chouser.us/">Chris Houser</a></h5></div><a href="https://github.com/chouser"><i class="github"></i>GitHub</a></div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/5673102?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://github.com/daslu">Daniel Slutsky</a></h5></div><a href="https://github.com/daslu"><i class="github"></i>GitHub</a>:scicloj</div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/43875?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://corfield.org">Sean Corfield</a></h5></div><a href="https://github.com/seancorfield"><i class="github"></i>GitHub</a><a href="https://tech.lgbt/@seancorfield"><i class="mastodon"></i>Mastodon</a>:clojurecamp</div><div class="card"><img class="card-img-top" src="https://media.licdn.com/dms/image/v2/D4E03AQGuYEubu1rpeA/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1681232451970?e=1754524800&amp;v=beta&amp;t=YbMtki98RI584h2kge6dLdg8PF79uNb7NKt59wrpyVs"><div class="card-body"><h5 class="card-title anchored"><a href="https://github.com/srcerer">Tim Schafer</a></h5></div><a href="https://github.com/srcerer"><i class="github"></i>GitHub</a>:clojurecamp</div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/49298?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://timothypratley.blogspot.com/p/httpswww.html">Timothy Pratley</a></h5></div><a href="https://github.com/timothypratley"><i class="github"></i>GitHub</a>:hummi</div></div>
342+
<div class="card-group"><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/171129?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://github.com/puredanger">Alex Miller</a></h5></div><a href="https://github.com/puredanger"><i class="github"></i>GitHub</a>:clojure.core</div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/36110?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://chouser.us/">Chris Houser</a></h5></div><a href="https://github.com/chouser"><i class="github"></i>GitHub</a></div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/5673102?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://github.com/daslu">Daniel Slutsky</a></h5></div><a href="https://github.com/daslu"><i class="github"></i>GitHub</a>:scicloj</div><div class="card"><img class="card-img-top" src="https://www.unicode.org/consortium/img/cheran-150px.jpg"><div class="card-body"><h5 class="card-title anchored"><a href="https://github.com/echeran">Elango Cheran</a></h5></div><a href="https://github.com/echeran"><i class="github"></i>GitHub</a><a href="https://www.elangocheran.com"><i class="home"></i>Personal site</a></div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/43875?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://corfield.org">Sean Corfield</a></h5></div><a href="https://github.com/seancorfield"><i class="github"></i>GitHub</a><a href="https://tech.lgbt/@seancorfield"><i class="mastodon"></i>Mastodon</a>:clojurecamp</div><div class="card"><img class="card-img-top" src="https://media.licdn.com/dms/image/v2/D4E03AQGuYEubu1rpeA/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1681232451970?e=1754524800&amp;v=beta&amp;t=YbMtki98RI584h2kge6dLdg8PF79uNb7NKt59wrpyVs"><div class="card-body"><h5 class="card-title anchored"><a href="https://github.com/srcerer">Tim Schafer</a></h5></div><a href="https://github.com/srcerer"><i class="github"></i>GitHub</a>:clojurecamp</div><div class="card"><img class="card-img-top" src="https://avatars.githubusercontent.com/u/49298?v=4"><div class="card-body"><h5 class="card-title anchored"><a href="https://timothypratley.blogspot.com/p/httpswww.html">Timothy Pratley</a></h5></div><a href="https://github.com/timothypratley"><i class="github"></i>GitHub</a>:hummi</div></div>
343343
<div style="background-color:grey;height:2px;width:100%;"></div>
344344
<div><pre><small><small>source: <a href="https://github.com/ClojureCivitas/clojurecivitas.github.io/blob/main/src/civitas/authors.clj">src/civitas/authors.clj</a></small></small></pre></div>
345345

clojure/print_object/remove_extraneous.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,20 +401,20 @@ <h1 class="title">Clean object printing by removing extraneous</h1>
401401
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> (<span class="va">#'clojure.core/print-object</span> x w))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
402402
</div>
403403
<div class="printedClojure">
404-
<div class="sourceCode" id="cb2"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.lang.MultiFn <span class="bn">0x65113eab</span> <span class="st">"clojure.lang.MultiFn@65113eab"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
404+
<div class="sourceCode" id="cb2"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.lang.MultiFn <span class="bn">0x40d8e4f6</span> <span class="st">"clojure.lang.MultiFn@40d8e4f6"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
405405
</div>
406406
<div class="sourceClojure">
407407
<div class="sourceCode" id="cb3"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>(Object.)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
408408
</div>
409409
<div class="printedClojure">
410-
<div class="sourceCode" id="cb4"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a>#object[java.lang.Object <span class="bn">0x4ca4995c</span> <span class="st">"java.lang.Object@4ca4995c"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
410+
<div class="sourceCode" id="cb4"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a>#object[java.lang.Object <span class="bn">0x20789365</span> <span class="st">"java.lang.Object@20789365"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
411411
</div>
412412
<p>The syntax is <code>#object[CLASS-NAME HASH toString())]</code> and as you can see, the toString of an Object is <code>CLASS-NAME@HASH</code>. For most objects this becomes quite a long string.</p>
413413
<div class="sourceClojure">
414414
<div class="sourceCode" id="cb5"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>(async/chan)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
415415
</div>
416416
<div class="printedClojure">
417-
<div class="sourceCode" id="cb6"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.core.async.impl.channels.ManyToManyChannel <span class="bn">0x6e96492b</span> <span class="st">"clojure.core.async.impl.channels.ManyToManyChannel@6e96492b"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
417+
<div class="sourceCode" id="cb6"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.core.async.impl.channels.ManyToManyChannel <span class="bn">0x44bff65c</span> <span class="st">"clojure.core.async.impl.channels.ManyToManyChannel@44bff65c"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
418418
</div>
419419
<div class="quarto-figure quarto-figure-center">
420420
<figure class="figure">
@@ -427,14 +427,14 @@ <h1 class="title">Clean object printing by removing extraneous</h1>
427427
<div class="sourceCode" id="cb7"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a>(<span class="kw">fn</span> [x] x)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
428428
</div>
429429
<div class="printedClojure">
430-
<div class="sourceCode" id="cb8"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.print_object.remove_extraneous$eval22473$fn__22474 <span class="bn">0x4b0b12b0</span> <span class="st">"clojure.print_object.remove_extraneous$eval22473$fn__22474@4b0b12b0"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
430+
<div class="sourceCode" id="cb8"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.print_object.remove_extraneous$eval22473$fn__22474 <span class="bn">0x34fdd1d0</span> <span class="st">"clojure.print_object.remove_extraneous$eval22473$fn__22474@34fdd1d0"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
431431
</div>
432432
<p>It’s quite easy to miss the fact that it is a function as we are looking for a tiny little <code>fn</code> in a sea of text. If, like me, you are fond of the <a href="../../code_interview/beating/with_stupid_stuff/z_combinator_gambit.html">odd lambda calculus excursion</a>, things get even more hectic.</p>
433433
<div class="sourceClojure">
434434
<div class="sourceCode" id="cb9"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a>((<span class="kw">fn</span> [x] (<span class="kw">fn</span> [v] ((x x) v))) (<span class="kw">fn</span> [y] y))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
435435
</div>
436436
<div class="printedClojure">
437-
<div class="sourceCode" id="cb10"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.print_object.remove_extraneous$eval22477$fn__22478$fn__22479 <span class="bn">0x454e6931</span> <span class="st">"clojure.print_object.remove_extraneous$eval22477$fn__22478$fn__22479@454e6931"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
437+
<div class="sourceCode" id="cb10"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.print_object.remove_extraneous$eval22477$fn__22478$fn__22479 <span class="bn">0x18547b0b</span> <span class="st">"clojure.print_object.remove_extraneous$eval22477$fn__22478$fn__22479@18547b0b"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
438438
</div>
439439
<p>Yikes! what an eyesore. This is not an academic issue specific to lambda calculus. Any function created from inside a function is helpfully identifiable through the <code>fn$fn</code> nesting. We create these quite regularly, and they are often printed in stack traces. I’m sure you have seen them when you map an inline function across a seq, and there is a bug in the anonymous function.</p>
440440
<div class="sourceClojure">

clojure/transducers/what_if.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ <h1 class="title">What if… we were taught transducers first?</h1>
523523
<div class="sourceCode" id="cb36"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb36-1"><a href="#cb36-1" aria-hidden="true" tabindex="-1"></a>(<span class="kw">comp</span> (<span class="kw">filter</span> <span class="kw">even?</span>) (<span class="kw">map</span> <span class="kw">inc</span>))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
524524
</div>
525525
<div class="printedClojure">
526-
<div class="sourceCode" id="cb37"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb37-1"><a href="#cb37-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.core$comp$fn__5895 <span class="bn">0x63e67888</span> <span class="st">"clojure.core$comp$fn__5895@63e67888"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
526+
<div class="sourceCode" id="cb37"><pre class="sourceCode clojure code-with-copy"><code class="sourceCode clojure"><span id="cb37-1"><a href="#cb37-1" aria-hidden="true" tabindex="-1"></a>#object[clojure.core$comp$fn__5895 <span class="bn">0x61ad4b83</span> <span class="st">"clojure.core$comp$fn__5895@61ad4b83"</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
527527
</div>
528528
<p>Let’s give this a name:</p>
529529
<div class="sourceClojure">

0 commit comments

Comments
 (0)