Skip to content

Commit

Permalink
deploy: e3a00d4
Browse files Browse the repository at this point in the history
  • Loading branch information
beef331 committed Feb 13, 2024
1 parent b671a2f commit 0d1dde5
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ <h1><a class="toc-backref" href="#17">Macros</a></h1>
<dd>


<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L438" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L438" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L443" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L443" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;

</dd>
</div>
Expand All @@ -331,8 +331,8 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<dd>

Emits a converter from <tt class="docutils literal"><span class="pre"><span class="Identifier">T</span></span></tt> to <tt class="docutils literal"><span class="pre"><span class="Identifier">Traitor</span><span class="Punctuation">[</span><span class="Identifier">trait</span><span class="Punctuation">]</span></span></tt> This allows skipping of <tt class="docutils literal"><span class="pre"><span class="Identifier">val</span><span class="Operator">.</span><span class="Identifier">toTrait</span><span class="Punctuation">(</span><span class="Identifier">trait</span><span class="Punctuation">)</span></span></tt>
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L417" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L417" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L422" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L422" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;

</dd>
</div>
Expand All @@ -347,8 +347,8 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<p><strong class="examples_text">Example:</strong></p>
<pre class="listing"><span class="Keyword">type</span> <span class="Identifier">MyTrait</span> <span class="Operator">=</span> <span class="Keyword">distinct</span> <span class="Keyword">tuple</span><span class="Punctuation">[</span><span class="Identifier">bleh</span><span class="Punctuation">:</span> <span class="Keyword">proc</span><span class="Punctuation">(</span><span class="Identifier">_</span><span class="Punctuation">:</span> <span class="Identifier">Atom</span><span class="Punctuation">,</span> <span class="Identifier">_</span><span class="Punctuation">:</span> <span class="Identifier">int</span><span class="Punctuation">)</span> <span class="Punctuation">{</span><span class="Operator">.</span><span class="Identifier">nimcall</span><span class="Operator">.</span><span class="Punctuation">}</span><span class="Punctuation">]</span>
<span class="Identifier">implTrait</span> <span class="Identifier">MyTrait</span></pre>
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L381" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L381" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L386" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L386" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;

</dd>
</div>
Expand Down Expand Up @@ -378,7 +378,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:02:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:11:48 UTC</small>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion theindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ <h1 class="title">Index</h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:02:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:11:48 UTC</small>
</div>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions traitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ <h1><a class="toc-backref" href="#17">Macros</a></h1>
<dd>


<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L438" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L438" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L443" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L443" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;

</dd>
</div>
Expand All @@ -331,8 +331,8 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<dd>

Emits a converter from <tt class="docutils literal"><span class="pre"><span class="Identifier">T</span></span></tt> to <tt class="docutils literal"><span class="pre"><span class="Identifier">Traitor</span><span class="Punctuation">[</span><span class="Identifier">trait</span><span class="Punctuation">]</span></span></tt> This allows skipping of <tt class="docutils literal"><span class="pre"><span class="Identifier">val</span><span class="Operator">.</span><span class="Identifier">toTrait</span><span class="Punctuation">(</span><span class="Identifier">trait</span><span class="Punctuation">)</span></span></tt>
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L417" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L417" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L422" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L422" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;

</dd>
</div>
Expand All @@ -347,8 +347,8 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<p><strong class="examples_text">Example:</strong></p>
<pre class="listing"><span class="Keyword">type</span> <span class="Identifier">MyTrait</span> <span class="Operator">=</span> <span class="Keyword">distinct</span> <span class="Keyword">tuple</span><span class="Punctuation">[</span><span class="Identifier">bleh</span><span class="Punctuation">:</span> <span class="Keyword">proc</span><span class="Punctuation">(</span><span class="Identifier">_</span><span class="Punctuation">:</span> <span class="Identifier">Atom</span><span class="Punctuation">,</span> <span class="Identifier">_</span><span class="Punctuation">:</span> <span class="Identifier">int</span><span class="Punctuation">)</span> <span class="Punctuation">{</span><span class="Operator">.</span><span class="Identifier">nimcall</span><span class="Operator">.</span><span class="Punctuation">}</span><span class="Punctuation">]</span>
<span class="Identifier">implTrait</span> <span class="Identifier">MyTrait</span></pre>
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L381" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L381" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L386" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L386" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;

</dd>
</div>
Expand Down Expand Up @@ -378,7 +378,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:02:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:11:48 UTC</small>
</div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions traitor.idx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ nim StaticTraitor traitor.html#StaticTraitor type StaticTraitor 121
nim AnyTraitor traitor.html#AnyTraitor type AnyTraitor 124
nim setProc traitor.html#setProc.t,TypedTraitor[T,Trait],untyped,proc template setProc[T, Trait](traitor: TypedTraitor[T, Trait]; name: untyped; prc: proc) 160
nim getData traitor.html#getData,Traitor[Traits],typedesc[T] proc getData[T; Traits](tratr: Traitor[Traits]; __520093856: typedesc[T]): var T 166
nim implTrait traitor.html#implTrait.t,typedesc[ValidTraitor] template implTrait(trait: typedesc[ValidTraitor]) 381
nim emitConverter traitor.html#emitConverter.t,typedesc,typedesc[ValidTraitor] template emitConverter(T: typedesc; trait: typedesc[ValidTraitor]) 417
nim joinTraits traitor.html#joinTraits.m,varargs[typed] macro joinTraits(traits: varargs[typed]): untyped 438
nim implTrait traitor.html#implTrait.t,typedesc[ValidTraitor] template implTrait(trait: typedesc[ValidTraitor]) 386
nim emitConverter traitor.html#emitConverter.t,typedesc,typedesc[ValidTraitor] template emitConverter(T: typedesc; trait: typedesc[ValidTraitor]) 422
nim joinTraits traitor.html#joinTraits.m,varargs[typed] macro joinTraits(traits: varargs[typed]): untyped 443
6 changes: 3 additions & 3 deletions traitor/streams.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
<dd>

Converts a type to <tt class="docutils literal"><span class="pre"><span class="Identifier">traitType</span></span></tt> ensuring it implements procedures This creates a <tt class="docutils literal"><span class="pre"><span class="Keyword">ref</span></span></tt> type and moves <tt class="docutils literal"><span class="pre"><span class="Identifier">val</span></span></tt> to it
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L404" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L404" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/tree/master/traitor.nim#L409" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/beef331/traitor/edit/devel/traitor.nim#L409" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;

</dd>
</div>
Expand Down Expand Up @@ -566,7 +566,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:02:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 09:11:47 UTC</small>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion traitor/streams.idx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ nim PrimitiveAtom traitor/streams.html#PrimitiveAtom type PrimitiveAtom 57
nim onlyPrimitives traitor/streams.html#onlyPrimitives,typedesc[PrimitiveAtom] proc onlyPrimitives(val: typedesc[PrimitiveAtom]) 60
nim onlyPrimitives traitor/streams.html#onlyPrimitives,typedesc[array[Idx,T]] proc onlyPrimitives[Idx, T](val: typedesc[array[Idx, T]]) 64
nim Primitive traitor/streams.html#Primitive type Primitive 74
nim toTrait traitor/streams.html#toTrait,sinkT, proc toTrait[T; Constraint: StreamTrait](val`gensym0: sink T;\n traitTyp`gensym0: typedesc[Constraint]): auto 404
nim toTrait traitor/streams.html#toTrait,sinkT, proc toTrait[T; Constraint: StreamTrait](val`gensym0: sink T;\n traitTyp`gensym0: typedesc[Constraint]): auto 409
nim readData traitor/streams.html#readData,Traitor[StreamTrait],pointer,int proc readData(param0: Traitor[StreamTrait]; param1: pointer; param2: int): int 89
nim writeData traitor/streams.html#writeData,Traitor[StreamTrait],pointer,int proc writeData(param0: Traitor[StreamTrait]; param1: pointer; param2: int): int 89
nim setPos traitor/streams.html#setPos,Traitor[StreamTrait],int proc setPos(param0: Traitor[StreamTrait]; param1: int) 89
Expand Down

0 comments on commit 0d1dde5

Please sign in to comment.