Skip to content

Commit

Permalink
deploy: aa8b57f
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWSpence committed May 16, 2024
1 parent dc0bc87 commit 30a521f
Show file tree
Hide file tree
Showing 10 changed files with 2,612 additions and 2,664 deletions.
4 changes: 2 additions & 2 deletions api/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; URL=https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/">
<link rel="canonical" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/">
<meta http-equiv="refresh" content="0; URL=https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/">
<link rel="canonical" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/">
12 changes: 6 additions & 6 deletions datatypes/tmvar.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<div class="row links">

<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g class="svg-shape">
<path d="M75,47.5c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm-50,-0c13.246,-0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,-0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm2.705,16.735l7.239,0l0.622,-4.904l-21.833,0l-0,4.904l7.589,0l0,22.067l6.383,0l-0,-22.067Zm58.076,7.265c-0,-8.757 -3.698,-14.166 -10.781,-14.166c-7.083,-0 -10.781,5.604 -10.781,14.166c0,8.757 3.698,14.166 10.781,14.166c7.083,0 10.781,-5.604 10.781,-14.166Zm-6.539,0c0,6.538 -1.128,9.496 -4.242,9.496c-2.997,0 -4.242,-2.88 -4.242,-9.496c-0,-6.616 1.206,-9.496 4.242,-9.496c3.036,-0 4.242,2.88 4.242,9.496Zm-29.242,-67c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm0.512,9.834c-7.122,-0 -12.609,5.098 -12.609,14.127c-0,9.263 5.215,14.205 12.532,14.205c4.164,0 7.083,-1.634 9.068,-3.658l-2.88,-3.697c-1.518,1.206 -3.153,2.413 -5.838,2.413c-3.697,-0 -6.266,-2.763 -6.266,-9.263c-0,-6.616 2.724,-9.379 6.149,-9.379c2.102,-0 3.892,0.778 5.371,1.984l3.113,-3.775c-2.257,-1.868 -4.748,-2.957 -8.64,-2.957Z"/>
</g>
Expand Down Expand Up @@ -74,7 +74,7 @@

<div class="row">

<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g class="svg-shape">
<path d="M75,47.5c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm-50,-0c13.246,-0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,-0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm2.705,16.735l7.239,0l0.622,-4.904l-21.833,0l-0,4.904l7.589,0l0,22.067l6.383,0l-0,-22.067Zm58.076,7.265c-0,-8.757 -3.698,-14.166 -10.781,-14.166c-7.083,-0 -10.781,5.604 -10.781,14.166c0,8.757 3.698,14.166 10.781,14.166c7.083,0 10.781,-5.604 10.781,-14.166Zm-6.539,0c0,6.538 -1.128,9.496 -4.242,9.496c-2.997,0 -4.242,-2.88 -4.242,-9.496c-0,-6.616 1.206,-9.496 4.242,-9.496c3.036,-0 4.242,2.88 4.242,9.496Zm-29.242,-67c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm0.512,9.834c-7.122,-0 -12.609,5.098 -12.609,14.127c-0,9.263 5.215,14.205 12.532,14.205c4.164,0 7.083,-1.634 9.068,-3.658l-2.88,-3.697c-1.518,1.206 -3.153,2.413 -5.838,2.413c-3.697,-0 -6.266,-2.763 -6.266,-9.263c-0,-6.616 2.724,-9.379 6.149,-9.379c2.102,-0 3.892,0.778 5.371,1.984l3.113,-3.775c-2.257,-1.868 -4.748,-2.957 -8.64,-2.957Z"/>
</g>
Expand Down Expand Up @@ -104,9 +104,9 @@
<li class="level2 nav-leaf"><a href="../theory/txn.html">Txn</a></li>
<li class="level2 nav-leaf"><a href="../theory/tvar.html">TVar</a></li>
<li class="level1 nav-header">datatypes</li>
<li class="level2 nav-leaf"><a href="tsemaphore.html">TSemaphore</a></li>
<li class="level2 nav-leaf"><a href="tqueue.html">TQueue</a></li>
<li class="level2 active nav-leaf"><a href="#">TMVar</a></li>
<li class="level2 nav-leaf"><a href="tsemaphore.html">TSemaphore</a></li>
<li class="level1 nav-header">examples</li>
<li class="level2 nav-leaf"><a href="../examples/santa.html">The Santa Claus Problem</a></li>
</ul>
Expand Down Expand Up @@ -140,7 +140,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@5ccb7b3
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@2fc1b826
</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 @@ -154,11 +154,11 @@ <h1 id="tmvar" class="title">TMVar</h1>
// txn = Bind(
// txn = Alloc(
// v = Delay(
// thunk = cats.effect.IO$$$Lambda$10291/0x0000000802d85840@536c20a6,
// thunk = cats.effect.IO$$$Lambda$10205/0x0000000802de0040@45551a54,
// event = cats.effect.tracing.TracingEvent$StackTrace
// )
// ),
// f = scala.Function1$$Lambda$10350/0x0000000802e44040@6efb709f
// f = scala.Function1$$Lambda$10264/0x0000000802e11840@1575823c
// ),
// f = &lt;function1&gt;
// )
Expand Down
12 changes: 6 additions & 6 deletions datatypes/tqueue.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<div class="row links">

<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g class="svg-shape">
<path d="M75,47.5c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm-50,-0c13.246,-0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,-0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm2.705,16.735l7.239,0l0.622,-4.904l-21.833,0l-0,4.904l7.589,0l0,22.067l6.383,0l-0,-22.067Zm58.076,7.265c-0,-8.757 -3.698,-14.166 -10.781,-14.166c-7.083,-0 -10.781,5.604 -10.781,14.166c0,8.757 3.698,14.166 10.781,14.166c7.083,0 10.781,-5.604 10.781,-14.166Zm-6.539,0c0,6.538 -1.128,9.496 -4.242,9.496c-2.997,0 -4.242,-2.88 -4.242,-9.496c-0,-6.616 1.206,-9.496 4.242,-9.496c3.036,-0 4.242,2.88 4.242,9.496Zm-29.242,-67c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm0.512,9.834c-7.122,-0 -12.609,5.098 -12.609,14.127c-0,9.263 5.215,14.205 12.532,14.205c4.164,0 7.083,-1.634 9.068,-3.658l-2.88,-3.697c-1.518,1.206 -3.153,2.413 -5.838,2.413c-3.697,-0 -6.266,-2.763 -6.266,-9.263c-0,-6.616 2.724,-9.379 6.149,-9.379c2.102,-0 3.892,0.778 5.371,1.984l3.113,-3.775c-2.257,-1.868 -4.748,-2.957 -8.64,-2.957Z"/>
</g>
Expand Down Expand Up @@ -74,7 +74,7 @@

<div class="row">

<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g class="svg-shape">
<path d="M75,47.5c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm-50,-0c13.246,-0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,-0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm2.705,16.735l7.239,0l0.622,-4.904l-21.833,0l-0,4.904l7.589,0l0,22.067l6.383,0l-0,-22.067Zm58.076,7.265c-0,-8.757 -3.698,-14.166 -10.781,-14.166c-7.083,-0 -10.781,5.604 -10.781,14.166c0,8.757 3.698,14.166 10.781,14.166c7.083,0 10.781,-5.604 10.781,-14.166Zm-6.539,0c0,6.538 -1.128,9.496 -4.242,9.496c-2.997,0 -4.242,-2.88 -4.242,-9.496c-0,-6.616 1.206,-9.496 4.242,-9.496c3.036,-0 4.242,2.88 4.242,9.496Zm-29.242,-67c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm0.512,9.834c-7.122,-0 -12.609,5.098 -12.609,14.127c-0,9.263 5.215,14.205 12.532,14.205c4.164,0 7.083,-1.634 9.068,-3.658l-2.88,-3.697c-1.518,1.206 -3.153,2.413 -5.838,2.413c-3.697,-0 -6.266,-2.763 -6.266,-9.263c-0,-6.616 2.724,-9.379 6.149,-9.379c2.102,-0 3.892,0.778 5.371,1.984l3.113,-3.775c-2.257,-1.868 -4.748,-2.957 -8.64,-2.957Z"/>
</g>
Expand Down Expand Up @@ -104,9 +104,9 @@
<li class="level2 nav-leaf"><a href="../theory/txn.html">Txn</a></li>
<li class="level2 nav-leaf"><a href="../theory/tvar.html">TVar</a></li>
<li class="level1 nav-header">datatypes</li>
<li class="level2 nav-leaf"><a href="tsemaphore.html">TSemaphore</a></li>
<li class="level2 active nav-leaf"><a href="#">TQueue</a></li>
<li class="level2 nav-leaf"><a href="tmvar.html">TMVar</a></li>
<li class="level2 nav-leaf"><a href="tsemaphore.html">TSemaphore</a></li>
<li class="level1 nav-header">examples</li>
<li class="level2 nav-leaf"><a href="../examples/santa.html">The Santa Claus Problem</a></li>
</ul>
Expand Down Expand Up @@ -139,7 +139,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@368278c9
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@4fe8320d
</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 @@ -153,11 +153,11 @@ <h1 id="tqueue" class="title">TQueue</h1>
// txn = Bind(
// txn = Alloc(
// v = Delay(
// thunk = cats.effect.IO$$$Lambda$10291/0x0000000802d85840@79619d08,
// thunk = cats.effect.IO$$$Lambda$10205/0x0000000802de0040@6afd991f,
// event = cats.effect.tracing.TracingEvent$StackTrace
// )
// ),
// f = scala.Function1$$Lambda$10350/0x0000000802e44040@61d183f4
// f = scala.Function1$$Lambda$10264/0x0000000802e11840@29a2de2e
// ),
// f = &lt;function1&gt;
// )
Expand Down
12 changes: 6 additions & 6 deletions datatypes/tsemaphore.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<div class="row links">

<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g class="svg-shape">
<path d="M75,47.5c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm-50,-0c13.246,-0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,-0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm2.705,16.735l7.239,0l0.622,-4.904l-21.833,0l-0,4.904l7.589,0l0,22.067l6.383,0l-0,-22.067Zm58.076,7.265c-0,-8.757 -3.698,-14.166 -10.781,-14.166c-7.083,-0 -10.781,5.604 -10.781,14.166c0,8.757 3.698,14.166 10.781,14.166c7.083,0 10.781,-5.604 10.781,-14.166Zm-6.539,0c0,6.538 -1.128,9.496 -4.242,9.496c-2.997,0 -4.242,-2.88 -4.242,-9.496c-0,-6.616 1.206,-9.496 4.242,-9.496c3.036,-0 4.242,2.88 4.242,9.496Zm-29.242,-67c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm0.512,9.834c-7.122,-0 -12.609,5.098 -12.609,14.127c-0,9.263 5.215,14.205 12.532,14.205c4.164,0 7.083,-1.634 9.068,-3.658l-2.88,-3.697c-1.518,1.206 -3.153,2.413 -5.838,2.413c-3.697,-0 -6.266,-2.763 -6.266,-9.263c-0,-6.616 2.724,-9.379 6.149,-9.379c2.102,-0 3.892,0.778 5.371,1.984l3.113,-3.775c-2.257,-1.868 -4.748,-2.957 -8.64,-2.957Z"/>
</g>
Expand Down Expand Up @@ -74,7 +74,7 @@

<div class="row">

<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.4/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<a class="icon-link svg-link" href="https://www.javadoc.io/doc/io.github.timwspence/cats-stm-docs_2.13/0.13.5/"><span class="api" title="API"><svg class="svg-icon" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g class="svg-shape">
<path d="M75,47.5c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm-50,-0c13.246,-0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,-0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm2.705,16.735l7.239,0l0.622,-4.904l-21.833,0l-0,4.904l7.589,0l0,22.067l6.383,0l-0,-22.067Zm58.076,7.265c-0,-8.757 -3.698,-14.166 -10.781,-14.166c-7.083,-0 -10.781,5.604 -10.781,14.166c0,8.757 3.698,14.166 10.781,14.166c7.083,0 10.781,-5.604 10.781,-14.166Zm-6.539,0c0,6.538 -1.128,9.496 -4.242,9.496c-2.997,0 -4.242,-2.88 -4.242,-9.496c-0,-6.616 1.206,-9.496 4.242,-9.496c3.036,-0 4.242,2.88 4.242,9.496Zm-29.242,-67c13.246,0 24,10.754 24,24c0,13.246 -10.754,24 -24,24c-13.246,0 -24,-10.754 -24,-24c0,-13.246 10.754,-24 24,-24Zm0.512,9.834c-7.122,-0 -12.609,5.098 -12.609,14.127c-0,9.263 5.215,14.205 12.532,14.205c4.164,0 7.083,-1.634 9.068,-3.658l-2.88,-3.697c-1.518,1.206 -3.153,2.413 -5.838,2.413c-3.697,-0 -6.266,-2.763 -6.266,-9.263c-0,-6.616 2.724,-9.379 6.149,-9.379c2.102,-0 3.892,0.778 5.371,1.984l3.113,-3.775c-2.257,-1.868 -4.748,-2.957 -8.64,-2.957Z"/>
</g>
Expand Down Expand Up @@ -104,9 +104,9 @@
<li class="level2 nav-leaf"><a href="../theory/txn.html">Txn</a></li>
<li class="level2 nav-leaf"><a href="../theory/tvar.html">TVar</a></li>
<li class="level1 nav-header">datatypes</li>
<li class="level2 active nav-leaf"><a href="#">TSemaphore</a></li>
<li class="level2 nav-leaf"><a href="tqueue.html">TQueue</a></li>
<li class="level2 nav-leaf"><a href="tmvar.html">TMVar</a></li>
<li class="level2 active nav-leaf"><a href="#">TSemaphore</a></li>
<li class="level1 nav-header">examples</li>
<li class="level2 nav-leaf"><a href="../examples/santa.html">The Santa Claus Problem</a></li>
</ul>
Expand Down Expand Up @@ -137,7 +137,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@1245b445
</span><span class="comment">// stm: STM[IO] = io.github.timwspence.cats.stm.STM$Make$$anon$1$$anon$2@768b9cbc
</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 @@ -150,11 +150,11 @@ <h1 id="tsemaphore" class="title">TSemaphore</h1>
// txn = Bind(
// txn = Alloc(
// v = Delay(
// thunk = cats.effect.IO$$$Lambda$10291/0x0000000802d85840@469f534d,
// thunk = cats.effect.IO$$$Lambda$10205/0x0000000802de0040@798cba10,
// event = cats.effect.tracing.TracingEvent$StackTrace
// )
// ),
// f = scala.Function1$$Lambda$10350/0x0000000802e44040@3cf4b8e3
// f = scala.Function1$$Lambda$10264/0x0000000802e11840@35ed8fcd
// ),
// f = &lt;function1&gt;
// )
Expand Down
Loading

0 comments on commit 30a521f

Please sign in to comment.