Skip to content

Commit 251d24f

Browse files
committed
deploy: 36fc9b2
1 parent f64adf9 commit 251d24f

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

guide.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -590,10 +590,10 @@ val program =
590590
// program: Stream[[x]IO[x], Unit] = Stream(..)
591591

592592
program.compile.drain.unsafeRunSync()
593-
// 19:10:48.630119055
594-
// 19:10:49.628802869
595-
// 19:10:50.628543968
596-
// 19:10:51.628602095
593+
// 03:43:43.049829192
594+
// 03:43:44.048573906
595+
// 03:43:45.048218257
596+
// 03:43:46.048104357
597597
```
598598

599599
Let's take this line by line now, so we can understand what's going on.
@@ -635,10 +635,10 @@ val program1 =
635635
// program1: Stream[[x]IO[x], Unit] = Stream(..)
636636

637637
program1.compile.drain.unsafeRunSync()
638-
// 19:10:53.629627292
639-
// 19:10:54.629799431
640-
// 19:10:55.629700447
641-
// 19:10:56.629850362
638+
// 03:43:48.049264635
639+
// 03:43:49.049182848
640+
// 03:43:50.049397692
641+
// 03:43:51.049429617
642642
```
643643

644644
### Talking to the external world
@@ -671,7 +671,7 @@ The way you bring synchronous effects into your effect type may differ. `Sync.de
671671
import cats.effect.Sync
672672

673673
val T = Sync[IO]
674-
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@9a847f7
674+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@78e429dc
675675
val s2 = Stream.exec(T.delay { destroyUniverse() }) ++ Stream("...moving on")
676676
// s2: Stream[[x]IO[x], String] = Stream(..)
677677
s2.compile.toVector.unsafeRunSync()
@@ -806,17 +806,17 @@ stream.toUnicastPublisher
806806
// source = Bind(
807807
// source = Eval(
808808
// fa = Delay(
809-
// thunk = cats.effect.IO$$$Lambda$11880/0x00007f039ffab738@7671d8b5,
809+
// thunk = cats.effect.IO$$$Lambda$11964/0x00007fa5d3fd18c0@2a92dfb1,
810810
// event = cats.effect.tracing.TracingEvent$StackTrace
811811
// )
812812
// ),
813-
// fs = cats.effect.std.Supervisor$$$Lambda$12573/0x00007f03a0155a70@6cac580
813+
// fs = cats.effect.std.Supervisor$$$Lambda$12659/0x00007fa5d417d010@2d40cc56
814814
// ),
815-
// fs = cats.effect.kernel.Resource$$Lambda$12575/0x00007f03a0156210@6816e998
815+
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@375aa20f
816816
// ),
817-
// fs = cats.effect.std.Dispatcher$$$Lambda$12576/0x00007f03a01565e0@23ca8c92
817+
// fs = cats.effect.std.Dispatcher$$$Lambda$12662/0x00007fa5d417db80@6e29d7f1
818818
// ),
819-
// fs = cats.effect.kernel.Resource$$Lambda$12575/0x00007f03a0156210@5b064c2e
819+
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@52fae2d2
820820
// )
821821
```
822822

@@ -830,27 +830,27 @@ val publisher: Resource[IO, StreamUnicastPublisher[IO, Int]] = Stream(1, 2, 3).c
830830
// source = Bind(
831831
// source = Eval(
832832
// fa = Delay(
833-
// thunk = cats.effect.IO$$$Lambda$11880/0x00007f039ffab738@bb0640b,
833+
// thunk = cats.effect.IO$$$Lambda$11964/0x00007fa5d3fd18c0@79f3a6a7,
834834
// event = cats.effect.tracing.TracingEvent$StackTrace
835835
// )
836836
// ),
837-
// fs = cats.effect.std.Supervisor$$$Lambda$12573/0x00007f03a0155a70@543516cc
837+
// fs = cats.effect.std.Supervisor$$$Lambda$12659/0x00007fa5d417d010@1bdb294c
838838
// ),
839-
// fs = cats.effect.kernel.Resource$$Lambda$12575/0x00007f03a0156210@23ecbec4
839+
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@3b6df399
840840
// ),
841-
// fs = cats.effect.std.Dispatcher$$$Lambda$12576/0x00007f03a01565e0@4ae2f1ab
841+
// fs = cats.effect.std.Dispatcher$$$Lambda$12662/0x00007fa5d417db80@3e847a54
842842
// ),
843-
// fs = cats.effect.kernel.Resource$$Lambda$12575/0x00007f03a0156210@42fa44c0
843+
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@5a2635bd
844844
// )
845845
publisher.use { p =>
846846
p.toStream[IO].compile.toList
847847
}
848848
// res56: IO[List[Int]] = FlatMap(
849849
// ioe = Delay(
850-
// thunk = cats.effect.IO$$$Lambda$11880/0x00007f039ffab738@bb0640b,
850+
// thunk = cats.effect.IO$$$Lambda$11964/0x00007fa5d3fd18c0@79f3a6a7,
851851
// event = cats.effect.tracing.TracingEvent$StackTrace
852852
// ),
853-
// f = cats.effect.kernel.Resource$$Lambda$12578/0x00007f03a0157640@3e05b925,
853+
// f = cats.effect.kernel.Resource$$Lambda$12664/0x00007fa5d417ebe0@18f5f6fc,
854854
// event = cats.effect.tracing.TracingEvent$StackTrace
855855
// )
856856
```

0 commit comments

Comments
 (0)