Skip to content

Commit

Permalink
deploy: fafbe65
Browse files Browse the repository at this point in the history
  • Loading branch information
djspiewak committed Aug 20, 2024
1 parent 27c0683 commit c3c1a2a
Show file tree
Hide file tree
Showing 50 changed files with 106 additions and 106 deletions.
2 changes: 1 addition & 1 deletion docs/2.x/datatypes/io.html
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ <h3><a class="anchor" aria-hidden="true" id="unsaferuncancelable"></a><a href="#
<pre><code class="hljs css language-scala"><span class="hljs-type">IO</span>(println(<span class="hljs-string">"Potentially cancelable!"</span>)).unsafeRunCancelable(_ =&gt; ())
<span class="hljs-comment">// Potentially cancelable!</span>
<span class="hljs-comment">// res59: cats.effect.package.CancelToken[IO] = Suspend(</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11703/0x0000000103117040@533f3b28,</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11586/0x000000010311f040@27da56fe,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/2.x/datatypes/io/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ <h3><a class="anchor" aria-hidden="true" id="unsaferuncancelable"></a><a href="#
<pre><code class="hljs css language-scala"><span class="hljs-type">IO</span>(println(<span class="hljs-string">"Potentially cancelable!"</span>)).unsafeRunCancelable(_ =&gt; ())
<span class="hljs-comment">// Potentially cancelable!</span>
<span class="hljs-comment">// res59: cats.effect.package.CancelToken[IO] = Suspend(</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11703/0x0000000103117040@533f3b28,</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11586/0x000000010311f040@27da56fe,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/2.x/datatypes/resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// ),</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11702/0x0000000103117840@72cc3c8c,</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11585/0x000000010311f840@31e1b7b,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/2.x/datatypes/resource/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// ),</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11702/0x0000000103117840@72cc3c8c,</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11585/0x000000010311f840@31e1b7b,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/2.x/datatypes/syncio.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2><a class="anchor" aria-hidden="true" id="interoperation-with-eval-and-io"></
<pre><code class="hljs css language-scala"><span class="hljs-keyword">import</span> cats.effect.<span class="hljs-type">IO</span>

<span class="hljs-keyword">val</span> ioa: <span class="hljs-type">SyncIO</span>[<span class="hljs-type">Unit</span>] = <span class="hljs-type">SyncIO</span>(println(<span class="hljs-string">"Hello world!"</span>))
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$671301905</span>
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$550419340</span>
<span class="hljs-keyword">val</span> iob: <span class="hljs-type">IO</span>[<span class="hljs-type">Unit</span>] = ioa.to[<span class="hljs-type">IO</span>]
<span class="hljs-comment">// iob: IO[Unit] = Delay(</span>
<span class="hljs-comment">// thunk = &lt;function0&gt;,</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/2.x/datatypes/syncio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2><a class="anchor" aria-hidden="true" id="interoperation-with-eval-and-io"></
<pre><code class="hljs css language-scala"><span class="hljs-keyword">import</span> cats.effect.<span class="hljs-type">IO</span>

<span class="hljs-keyword">val</span> ioa: <span class="hljs-type">SyncIO</span>[<span class="hljs-type">Unit</span>] = <span class="hljs-type">SyncIO</span>(println(<span class="hljs-string">"Hello world!"</span>))
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$671301905</span>
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$550419340</span>
<span class="hljs-keyword">val</span> iob: <span class="hljs-type">IO</span>[<span class="hljs-type">Unit</span>] = ioa.to[<span class="hljs-type">IO</span>]
<span class="hljs-comment">// iob: IO[Unit] = Delay(</span>
<span class="hljs-comment">// thunk = &lt;function0&gt;,</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/datatypes/io.html
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ <h3><a class="anchor" aria-hidden="true" id="unsaferuncancelable"></a><a href="#
<pre><code class="hljs css language-scala"><span class="hljs-type">IO</span>(println(<span class="hljs-string">"Potentially cancelable!"</span>)).unsafeRunCancelable(_ =&gt; ())
<span class="hljs-comment">// Potentially cancelable!</span>
<span class="hljs-comment">// res59: cats.effect.package.CancelToken[IO] = Suspend(</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11703/0x0000000103117040@533f3b28,</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11586/0x000000010311f040@27da56fe,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/datatypes/io/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ <h3><a class="anchor" aria-hidden="true" id="unsaferuncancelable"></a><a href="#
<pre><code class="hljs css language-scala"><span class="hljs-type">IO</span>(println(<span class="hljs-string">"Potentially cancelable!"</span>)).unsafeRunCancelable(_ =&gt; ())
<span class="hljs-comment">// Potentially cancelable!</span>
<span class="hljs-comment">// res59: cats.effect.package.CancelToken[IO] = Suspend(</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11703/0x0000000103117040@533f3b28,</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11586/0x000000010311f040@27da56fe,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/datatypes/resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// ),</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11702/0x0000000103117840@72cc3c8c,</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11585/0x000000010311f840@31e1b7b,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/datatypes/resource/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// ),</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11702/0x0000000103117840@72cc3c8c,</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11585/0x000000010311f840@31e1b7b,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/datatypes/syncio.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2><a class="anchor" aria-hidden="true" id="interoperation-with-eval-and-io"></
<pre><code class="hljs css language-scala"><span class="hljs-keyword">import</span> cats.effect.<span class="hljs-type">IO</span>

<span class="hljs-keyword">val</span> ioa: <span class="hljs-type">SyncIO</span>[<span class="hljs-type">Unit</span>] = <span class="hljs-type">SyncIO</span>(println(<span class="hljs-string">"Hello world!"</span>))
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$671301905</span>
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$550419340</span>
<span class="hljs-keyword">val</span> iob: <span class="hljs-type">IO</span>[<span class="hljs-type">Unit</span>] = ioa.to[<span class="hljs-type">IO</span>]
<span class="hljs-comment">// iob: IO[Unit] = Delay(</span>
<span class="hljs-comment">// thunk = &lt;function0&gt;,</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/datatypes/syncio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2><a class="anchor" aria-hidden="true" id="interoperation-with-eval-and-io"></
<pre><code class="hljs css language-scala"><span class="hljs-keyword">import</span> cats.effect.<span class="hljs-type">IO</span>

<span class="hljs-keyword">val</span> ioa: <span class="hljs-type">SyncIO</span>[<span class="hljs-type">Unit</span>] = <span class="hljs-type">SyncIO</span>(println(<span class="hljs-string">"Hello world!"</span>))
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$671301905</span>
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$550419340</span>
<span class="hljs-keyword">val</span> iob: <span class="hljs-type">IO</span>[<span class="hljs-type">Unit</span>] = ioa.to[<span class="hljs-type">IO</span>]
<span class="hljs-comment">// iob: IO[Unit] = Delay(</span>
<span class="hljs-comment">// thunk = &lt;function0&gt;,</span>
Expand Down
6 changes: 3 additions & 3 deletions docs/migration-guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,14 @@ <h4><a class="anchor" aria-hidden="true" id="how-does-blocking-work"></a><a href
(For other effect systems it could be a <code>Runtime</code> or <code>Scheduler</code>, etc.)
You can learn more about CE3 <a href="/cats-effect/docs/schedulers">schedulers</a> and <a href="/cats-effect/docs/thread-model">the thread model in comparison to CE2's</a>.</p>
<pre><code class="hljs css language-scala"><span class="hljs-keyword">val</span> runtime = cats.effect.unsafe.<span class="hljs-type">IORuntime</span>.global
<span class="hljs-comment">// runtime: cats.effect.unsafe.IORuntime = IORuntime(cats.effect.unsafe.WorkStealingThreadPool@63a92713, cats.effect.unsafe.WorkStealingThreadPool@63a92713, IORuntimeConfig(512,1024,true,16,Duration.Inf,true,1 second,10 seconds,0.1))</span>
<span class="hljs-comment">// runtime: cats.effect.unsafe.IORuntime = IORuntime(cats.effect.unsafe.WorkStealingThreadPool@57b092a9, cats.effect.unsafe.WorkStealingThreadPool@57b092a9, IORuntimeConfig(512,1024,true,16,Duration.Inf,true,1 second,10 seconds,0.1))</span>

<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">showThread</span></span>() = java.lang.<span class="hljs-type">Thread</span>.currentThread().getName()

<span class="hljs-type">IO</span>(showThread())
.product(<span class="hljs-type">IO</span>.blocking(showThread()))
.unsafeRunSync()(runtime)
<span class="hljs-comment">// res0: (String, String) = ("io-compute-0", "io-compute-blocker-0")</span>
<span class="hljs-comment">// res0: (String, String) = ("io-compute-3", "io-compute-blocker-3")</span>
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="no-blockon"></a><a href="#no-blockon" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>No <code>blockOn</code>?</h4>
<p>It should be noted that <code>blockOn</code> is missing. There is now no <em>standard</em> way to wrap an effect and move it to a blocking pool,
Expand Down Expand Up @@ -338,7 +338,7 @@ <h3><a class="anchor" aria-hidden="true" id="clock"></a><a href="#clock" aria-hi
<span class="hljs-comment">// )</span>

clocks.unsafeRunSync()
<span class="hljs-comment">// res1: concurrent.duration.FiniteDuration = 567050 nanoseconds</span>
<span class="hljs-comment">// res1: concurrent.duration.FiniteDuration = 540561 nanoseconds</span>
</code></pre>
<p>Because <code>Clock</code> is no longer a &quot;usual&quot; value but a type class, it's not possible to create new values of it through <code>create</code> and <code>mapK</code>.</p>
<p><code>Clock</code> is a part of <code>Sync</code> and thus it should be easy to get an instance inductively for any monad transformer, or directly for any effect that is a <code>Sync</code>.</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/migration-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,14 @@ <h4><a class="anchor" aria-hidden="true" id="how-does-blocking-work"></a><a href
(For other effect systems it could be a <code>Runtime</code> or <code>Scheduler</code>, etc.)
You can learn more about CE3 <a href="/cats-effect/docs/schedulers">schedulers</a> and <a href="/cats-effect/docs/thread-model">the thread model in comparison to CE2's</a>.</p>
<pre><code class="hljs css language-scala"><span class="hljs-keyword">val</span> runtime = cats.effect.unsafe.<span class="hljs-type">IORuntime</span>.global
<span class="hljs-comment">// runtime: cats.effect.unsafe.IORuntime = IORuntime(cats.effect.unsafe.WorkStealingThreadPool@63a92713, cats.effect.unsafe.WorkStealingThreadPool@63a92713, IORuntimeConfig(512,1024,true,16,Duration.Inf,true,1 second,10 seconds,0.1))</span>
<span class="hljs-comment">// runtime: cats.effect.unsafe.IORuntime = IORuntime(cats.effect.unsafe.WorkStealingThreadPool@57b092a9, cats.effect.unsafe.WorkStealingThreadPool@57b092a9, IORuntimeConfig(512,1024,true,16,Duration.Inf,true,1 second,10 seconds,0.1))</span>

<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">showThread</span></span>() = java.lang.<span class="hljs-type">Thread</span>.currentThread().getName()

<span class="hljs-type">IO</span>(showThread())
.product(<span class="hljs-type">IO</span>.blocking(showThread()))
.unsafeRunSync()(runtime)
<span class="hljs-comment">// res0: (String, String) = ("io-compute-0", "io-compute-blocker-0")</span>
<span class="hljs-comment">// res0: (String, String) = ("io-compute-3", "io-compute-blocker-3")</span>
</code></pre>
<h4><a class="anchor" aria-hidden="true" id="no-blockon"></a><a href="#no-blockon" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>No <code>blockOn</code>?</h4>
<p>It should be noted that <code>blockOn</code> is missing. There is now no <em>standard</em> way to wrap an effect and move it to a blocking pool,
Expand Down Expand Up @@ -338,7 +338,7 @@ <h3><a class="anchor" aria-hidden="true" id="clock"></a><a href="#clock" aria-hi
<span class="hljs-comment">// )</span>

clocks.unsafeRunSync()
<span class="hljs-comment">// res1: concurrent.duration.FiniteDuration = 567050 nanoseconds</span>
<span class="hljs-comment">// res1: concurrent.duration.FiniteDuration = 540561 nanoseconds</span>
</code></pre>
<p>Because <code>Clock</code> is no longer a &quot;usual&quot; value but a type class, it's not possible to create new values of it through <code>create</code> and <code>mapK</code>.</p>
<p><code>Clock</code> is a part of <code>Sync</code> and thus it should be easy to get an instance inductively for any monad transformer, or directly for any effect that is a <code>Sync</code>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/next/datatypes/io.html
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ <h3><a class="anchor" aria-hidden="true" id="unsaferuncancelable"></a><a href="#
<pre><code class="hljs css language-scala"><span class="hljs-type">IO</span>(println(<span class="hljs-string">"Potentially cancelable!"</span>)).unsafeRunCancelable(_ =&gt; ())
<span class="hljs-comment">// Potentially cancelable!</span>
<span class="hljs-comment">// res59: cats.effect.package.CancelToken[IO] = Suspend(</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11703/0x0000000103117040@533f3b28,</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11586/0x000000010311f040@27da56fe,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/next/datatypes/io/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ <h3><a class="anchor" aria-hidden="true" id="unsaferuncancelable"></a><a href="#
<pre><code class="hljs css language-scala"><span class="hljs-type">IO</span>(println(<span class="hljs-string">"Potentially cancelable!"</span>)).unsafeRunCancelable(_ =&gt; ())
<span class="hljs-comment">// Potentially cancelable!</span>
<span class="hljs-comment">// res59: cats.effect.package.CancelToken[IO] = Suspend(</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11703/0x0000000103117040@533f3b28,</span>
<span class="hljs-comment">// thunk = cats.effect.internals.IOConnection$Impl$$Lambda$11586/0x000000010311f040@27da56fe,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/next/datatypes/resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// ),</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11702/0x0000000103117840@72cc3c8c,</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11585/0x000000010311f840@31e1b7b,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/next/datatypes/resource/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// )</span>
<span class="hljs-comment">// ),</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11702/0x0000000103117840@72cc3c8c,</span>
<span class="hljs-comment">// f = cats.effect.IO$$Lambda$11585/0x000000010311f840@31e1b7b,</span>
<span class="hljs-comment">// trace = StackTrace(</span>
<span class="hljs-comment">// stackTrace = List(</span>
<span class="hljs-comment">// cats.effect.internals.IOTracing$.buildFrame(IOTracing.scala:48),</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/next/datatypes/syncio.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2><a class="anchor" aria-hidden="true" id="interoperation-with-eval-and-io"></
<pre><code class="hljs css language-scala"><span class="hljs-keyword">import</span> cats.effect.<span class="hljs-type">IO</span>

<span class="hljs-keyword">val</span> ioa: <span class="hljs-type">SyncIO</span>[<span class="hljs-type">Unit</span>] = <span class="hljs-type">SyncIO</span>(println(<span class="hljs-string">"Hello world!"</span>))
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$671301905</span>
<span class="hljs-comment">// ioa: SyncIO[Unit] = SyncIO$550419340</span>
<span class="hljs-keyword">val</span> iob: <span class="hljs-type">IO</span>[<span class="hljs-type">Unit</span>] = ioa.to[<span class="hljs-type">IO</span>]
<span class="hljs-comment">// iob: IO[Unit] = Delay(</span>
<span class="hljs-comment">// thunk = &lt;function0&gt;,</span>
Expand Down
Loading

0 comments on commit c3c1a2a

Please sign in to comment.