Skip to content

Commit

Permalink
Deploying to gh-pages from @ a5bf48e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Jul 12, 2023
1 parent 9f963cc commit bc31c73
Show file tree
Hide file tree
Showing 398 changed files with 14,260 additions and 13,068 deletions.
60 changes: 30 additions & 30 deletions algorithm.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions asciitables.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h1 class="title">std/private/asciitables</h1>

</div>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/std/private/asciitables.nim#L1"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/std/private/asciitables.nim#L1"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/std/private/asciitables.nim#L1" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -152,7 +152,7 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>


&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/std/private/asciitables.nim#L6"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/std/private/asciitables.nim#L6"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/std/private/asciitables.nim#L6" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -170,7 +170,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>

Formats a <tt class="docutils literal"><span class="pre"><span class="Identifier">delim</span></span></tt>-delimited <tt class="docutils literal"><span class="pre"><span class="Identifier">s</span></span></tt> representing a table; each cell is aligned to a width that's computed for each column; consecutive columns are delimited by <tt class="docutils literal"><span class="pre"><span class="Identifier">sep</span></span></tt>, and alignment space is filled using <tt class="docutils literal"><span class="pre"><span class="Identifier">fill</span></span></tt>. More customized formatting can be done by calling <tt class="docutils literal"><span class="pre"><span class="Identifier">parseTableCells</span></span></tt> directly.
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/std/private/asciitables.nim#L71"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/std/private/asciitables.nim#L71"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/std/private/asciitables.nim#L71" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -187,7 +187,7 @@ <h1><a class="toc-backref" href="#15">Iterators</a></h1>

Iterates over all cells in a <tt class="docutils literal"><span class="pre"><span class="Identifier">delim</span></span></tt>-delimited <tt class="docutils literal"><span class="pre"><span class="Identifier">s</span></span></tt>, after a 1st pass that computes number of rows, columns, and width of each column.
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/std/private/asciitables.nim#L10"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/std/private/asciitables.nim#L10"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/std/private/asciitables.nim#L10" class="link-seesrc" target="_blank" >Edit</a>

Expand Down
14 changes: 7 additions & 7 deletions assertions.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h1 class="title">system/assertions</h1>

</div>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/system/assertions.nim#L1"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/system/assertions.nim#L1"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/system/assertions.nim#L1" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -172,7 +172,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>

Raises an <tt class="docutils literal"><span class="pre"><span class="Identifier">AssertionDefect</span></span></tt> with <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>, but this is hidden from the effect system. Called when an assertion failed.
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/system/assertions.nim#L30"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/system/assertions.nim#L30"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/system/assertions.nim#L30" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -185,7 +185,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>

Raises an <tt class="docutils literal"><span class="pre"><span class="Identifier">AssertionDefect</span></span></tt> with <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>.
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/system/assertions.nim#L26"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/system/assertions.nim#L26"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/system/assertions.nim#L26" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -210,7 +210,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<p><strong class="examples_text">Example: cmd: -d:danger</strong></p>
<pre class="listing"><span class="Identifier">assert</span> <span class="DecNumber">1</span> <span class="Operator">==</span> <span class="DecNumber">2</span> <span class="Comment"># ditto</span></pre>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/system/assertions.nim#L51"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/system/assertions.nim#L51"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/system/assertions.nim#L51" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -224,7 +224,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<p><strong class="examples_text">Example:</strong></p>
<pre class="listing"><span class="Identifier">doAssert</span> <span class="DecNumber">1</span> <span class="Operator">==</span> <span class="DecNumber">1</span> <span class="Comment"># generates code even when built with `-d:danger` or `--assertions:off`</span></pre>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/system/assertions.nim#L65"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/system/assertions.nim#L65"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/system/assertions.nim#L65" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -240,7 +240,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<span class="Identifier">doAssertRaises</span><span class="Punctuation">(</span><span class="Identifier">CatchableError</span><span class="Punctuation">)</span><span class="Punctuation">:</span> <span class="Keyword">raise</span> <span class="Identifier">newException</span><span class="Punctuation">(</span><span class="Identifier">ValueError</span><span class="Punctuation">,</span> <span class="StringLit">&quot;Hello World&quot;</span><span class="Punctuation">)</span>
<span class="Identifier">doAssertRaises</span><span class="Punctuation">(</span><span class="Identifier">AssertionDefect</span><span class="Punctuation">)</span><span class="Punctuation">:</span> <span class="Identifier">doAssert</span> <span class="Identifier">false</span></pre>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/system/assertions.nim#L86"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/system/assertions.nim#L86"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/system/assertions.nim#L86" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -260,7 +260,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<span class="Keyword">raise</span> <span class="Punctuation">(</span><span class="Keyword">ref</span> <span class="Identifier">MyError</span><span class="Punctuation">)</span><span class="Punctuation">(</span><span class="Identifier">msg</span><span class="Punctuation">:</span> <span class="Identifier">msg</span><span class="Punctuation">,</span> <span class="Identifier">lineinfo</span><span class="Punctuation">:</span> <span class="Identifier">instantiationInfo</span><span class="Punctuation">(</span><span class="Operator">-</span><span class="DecNumber">2</span><span class="Punctuation">)</span><span class="Punctuation">)</span>
<span class="Identifier">doAssertRaises</span><span class="Punctuation">(</span><span class="Identifier">MyError</span><span class="Punctuation">)</span><span class="Punctuation">:</span> <span class="Identifier">doAssert</span> <span class="Identifier">false</span></pre>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/system/assertions.nim#L71"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/system/assertions.nim#L71"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/system/assertions.nim#L71" class="link-seesrc" target="_blank" >Edit</a>

Expand Down
20 changes: 10 additions & 10 deletions asyncjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h1 class="title">js/asyncjs</h1>

</div>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L1"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L1"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L1" class="link-seesrc" target="_blank" >Edit</a>

Expand Down Expand Up @@ -199,7 +199,7 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>

<a class="reference external" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error</a>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L180"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L180"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L180" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -213,7 +213,7 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>


&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L69"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L69"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L69" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -225,7 +225,7 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>


&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L185"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L185"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L185" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -237,7 +237,7 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>


&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L73"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L73"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L73" class="link-seesrc" target="_blank" >Edit</a>

Expand Down Expand Up @@ -271,7 +271,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>

<span class="Keyword">discard</span> <span class="Identifier">main</span><span class="Punctuation">(</span><span class="Punctuation">)</span></pre>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L234"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L234"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L234" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -284,7 +284,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>

A helper for wrapping callback-based functions into promises and async procedures.
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L157"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L157"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L157" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -297,7 +297,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>

A helper for wrapping callback-based functions into promises and async procedures.
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L153"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L153"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L153" class="link-seesrc" target="_blank" >Edit</a>

Expand Down Expand Up @@ -337,7 +337,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
<span class="Identifier">await</span> <span class="Identifier">fn</span><span class="Punctuation">(</span><span class="DecNumber">7</span><span class="Punctuation">)</span><span class="Operator">.</span><span class="Identifier">then</span><span class="Punctuation">(</span><span class="Punctuation">(</span><span class="Identifier">a</span><span class="Punctuation">:</span> <span class="Identifier">int</span><span class="Punctuation">)</span> <span class="Operator">=&gt;</span> <span class="Punctuation">(</span><span class="Identifier">witness</span> <span class="Operator">=</span> <span class="DecNumber">2</span><span class="Punctuation">)</span><span class="Punctuation">,</span> <span class="Punctuation">(</span><span class="Identifier">r</span><span class="Punctuation">:</span> <span class="Identifier">Error</span><span class="Punctuation">)</span> <span class="Operator">=&gt;</span> <span class="Punctuation">(</span><span class="Identifier">witness</span> <span class="Operator">=</span> <span class="DecNumber">3</span><span class="Punctuation">)</span><span class="Punctuation">)</span>
<span class="Identifier">assert</span> <span class="Identifier">witness</span> <span class="Operator">==</span> <span class="DecNumber">3</span></pre>
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L187"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L187"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L187" class="link-seesrc" target="_blank" >Edit</a>

Expand All @@ -354,7 +354,7 @@ <h1><a class="toc-backref" href="#17">Macros</a></h1>

Macro which converts normal procedures into javascript-compatible async procedures.
&nbsp;&nbsp;<a
href="https://github.com/nim-works/nimskull/tree/b7f2c04427750768f703674a4941272ac5ea03d1/lib/js/asyncjs.nim#L143"
href="https://github.com/nim-works/nimskull/tree/a5bf48ea0de2bb3f677ee9df71fbfe0f1d92f05e/lib/js/asyncjs.nim#L143"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/nim-works/nimskull/edit/devel/lib/js/asyncjs.nim#L143" class="link-seesrc" target="_blank" >Edit</a>

Expand Down
Loading

0 comments on commit bc31c73

Please sign in to comment.