Skip to content

Commit

Permalink
deploy: 3e62510
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWSpence committed Aug 18, 2023
1 parent 6c0f537 commit 251284d
Show file tree
Hide file tree
Showing 9 changed files with 1,462 additions and 3,912 deletions.
10 changes: 5 additions & 5 deletions datatypes/tmvar.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
<li class="level2"><a href="../theory/txn.html">Txn</a></li>
<li class="level2"><a href="../theory/tvar.html">TVar</a></li>
<li class="level1 nav-header">datatypes</li>
<li class="level2"><a href="tqueue.html">TQueue</a></li>
<li class="level2 active"><a href="#">TMVar</a></li>
<li class="level2"><a href="tsemaphore.html">TSemaphore</a></li>
<li class="level2 active"><a href="#">TMVar</a></li>
<li class="level2"><a href="tqueue.html">TQueue</a></li>
<li class="level1 nav-header">examples</li>
<li class="level2"><a href="../examples/santa.html">The Santa Claus Problem</a></li>
</ul>
Expand Down Expand Up @@ -129,7 +129,7 @@ <h1 id="tmvar" class="title">TMVar</h1>
</span><span class="keyword">import</span><span> </span><span class="identifier">io</span><span>.</span><span class="identifier">github</span><span>.</span><span class="identifier">timwspence</span><span>.</span><span class="identifier">cats</span><span>.</span><span class="identifier">stm</span><span>.</span><span class="type-name">STM</span><span>

</span><span class="keyword">val</span><span> </span><span class="identifier">stm</span><span> = </span><span class="type-name">STM</span><span>.</span><span class="identifier">runtime</span><span>[</span><span class="type-name">IO</span><span>].</span><span class="identifier">unsafeRunSync</span><span>()
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@242a45e9
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@20d04f48
</span><span class="keyword">import</span><span> </span><span class="identifier">stm</span><span>.</span><span class="identifier">_</span><span>

</span><span class="keyword">val</span><span> </span><span class="identifier">txn</span><span>: </span><span class="type-name">Txn</span><span>[</span><span class="type-name">String</span><span>] = </span><span class="keyword">for</span><span> {
Expand All @@ -143,11 +143,11 @@ <h1 id="tmvar" class="title">TMVar</h1>
// txn = Bind(
// txn = Alloc(
// v = Delay(
// thunk = cats.effect.IO$$$Lambda$11236/1250138832@7115cc1f,
// thunk = cats.effect.IO$$$Lambda$11217/615391571@38808095,
// event = cats.effect.tracing.TracingEvent$StackTrace
// )
// ),
// f = scala.Function1$$Lambda$11293/1784508592@c4d739b
// f = scala.Function1$$Lambda$11274/2041967149@781c0fbe
// ),
// f = &lt;function1&gt;
// )
Expand Down
10 changes: 5 additions & 5 deletions datatypes/tqueue.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
<li class="level2"><a href="../theory/txn.html">Txn</a></li>
<li class="level2"><a href="../theory/tvar.html">TVar</a></li>
<li class="level1 nav-header">datatypes</li>
<li class="level2 active"><a href="#">TQueue</a></li>
<li class="level2"><a href="tmvar.html">TMVar</a></li>
<li class="level2"><a href="tsemaphore.html">TSemaphore</a></li>
<li class="level2"><a href="tmvar.html">TMVar</a></li>
<li class="level2 active"><a href="#">TQueue</a></li>
<li class="level1 nav-header">examples</li>
<li class="level2"><a href="../examples/santa.html">The Santa Claus Problem</a></li>
</ul>
Expand Down Expand Up @@ -128,7 +128,7 @@ <h1 id="tqueue" class="title">TQueue</h1>
</span><span class="keyword">import</span><span> </span><span class="identifier">io</span><span>.</span><span class="identifier">github</span><span>.</span><span class="identifier">timwspence</span><span>.</span><span class="identifier">cats</span><span>.</span><span class="identifier">stm</span><span>.</span><span class="type-name">STM</span><span>

</span><span class="keyword">val</span><span> </span><span class="identifier">stm</span><span> = </span><span class="type-name">STM</span><span>.</span><span class="identifier">runtime</span><span>[</span><span class="type-name">IO</span><span>].</span><span class="identifier">unsafeRunSync</span><span>()
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@639dcc64
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@101a3abc
</span><span class="keyword">import</span><span> </span><span class="identifier">stm</span><span>.</span><span class="identifier">_</span><span>

</span><span class="keyword">val</span><span> </span><span class="identifier">txn</span><span>: </span><span class="type-name">Txn</span><span>[</span><span class="type-name">String</span><span>] = </span><span class="keyword">for</span><span> {
Expand All @@ -142,11 +142,11 @@ <h1 id="tqueue" class="title">TQueue</h1>
// txn = Bind(
// txn = Alloc(
// v = Delay(
// thunk = cats.effect.IO$$$Lambda$11236/1250138832@5e3b9b3d,
// thunk = cats.effect.IO$$$Lambda$11217/615391571@643c7315,
// event = cats.effect.tracing.TracingEvent$StackTrace
// )
// ),
// f = scala.Function1$$Lambda$11293/1784508592@f7e2d0a
// f = scala.Function1$$Lambda$11274/2041967149@2ff1bc48
// ),
// f = &lt;function1&gt;
// )
Expand Down
10 changes: 5 additions & 5 deletions datatypes/tsemaphore.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
<li class="level2"><a href="../theory/txn.html">Txn</a></li>
<li class="level2"><a href="../theory/tvar.html">TVar</a></li>
<li class="level1 nav-header">datatypes</li>
<li class="level2"><a href="tqueue.html">TQueue</a></li>
<li class="level2"><a href="tmvar.html">TMVar</a></li>
<li class="level2 active"><a href="#">TSemaphore</a></li>
<li class="level2"><a href="tmvar.html">TMVar</a></li>
<li class="level2"><a href="tqueue.html">TQueue</a></li>
<li class="level1 nav-header">examples</li>
<li class="level2"><a href="../examples/santa.html">The Santa Claus Problem</a></li>
</ul>
Expand Down Expand Up @@ -126,7 +126,7 @@ <h1 id="tsemaphore" class="title">TSemaphore</h1>
</span><span class="keyword">import</span><span> </span><span class="identifier">io</span><span>.</span><span class="identifier">github</span><span>.</span><span class="identifier">timwspence</span><span>.</span><span class="identifier">cats</span><span>.</span><span class="identifier">stm</span><span>.</span><span class="type-name">STM</span><span>

</span><span class="keyword">val</span><span> </span><span class="identifier">stm</span><span> = </span><span class="type-name">STM</span><span>.</span><span class="identifier">runtime</span><span>[</span><span class="type-name">IO</span><span>].</span><span class="identifier">unsafeRunSync</span><span>()
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@740b4164
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@670c716
</span><span class="keyword">import</span><span> </span><span class="identifier">stm</span><span>.</span><span class="identifier">_</span><span>

</span><span class="keyword">val</span><span> </span><span class="identifier">txn</span><span>: </span><span class="type-name">Txn</span><span>[</span><span class="type-name">Long</span><span>] = </span><span class="keyword">for</span><span> {
Expand All @@ -139,11 +139,11 @@ <h1 id="tsemaphore" class="title">TSemaphore</h1>
// txn = Bind(
// txn = Alloc(
// v = Delay(
// thunk = cats.effect.IO$$$Lambda$11236/1250138832@7720d7d,
// thunk = cats.effect.IO$$$Lambda$11217/615391571@2c6ecc37,
// event = cats.effect.tracing.TracingEvent$StackTrace
// )
// ),
// f = scala.Function1$$Lambda$11293/1784508592@73c2c175
// f = scala.Function1$$Lambda$11274/2041967149@128f5ae2
// ),
// f = &lt;function1&gt;
// )
Expand Down
Loading

0 comments on commit 251284d

Please sign in to comment.