Skip to content

Commit 5aa4788

Browse files
committed
deploy: 52b9e5d
1 parent cd33fe3 commit 5aa4788

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-
// 12:48:25.008588165
594-
// 12:48:26.007532870
595-
// 12:48:27.007130443
596-
// 12:48:28.007229394
593+
// 01:57:42.908812258
594+
// 01:57:43.907707997
595+
// 01:57:44.907485616
596+
// 01:57:45.907509770
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-
// 12:48:30.008205849
639-
// 12:48:31.008241036
640-
// 12:48:32.008280210
641-
// 12:48:33.008242911
638+
// 01:57:47.909651757
639+
// 01:57:48.909916726
640+
// 01:57:49.909698675
641+
// 01:57:50.909873881
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@17b4badd
674+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@72d7e255
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$10942/0x00007f9a37e424c0@717cdf1b,
809+
// thunk = cats.effect.IO$$$Lambda$10910/0x00007f0cc7e3a4c0@241642ff,
810810
// event = cats.effect.tracing.TracingEvent$StackTrace
811811
// )
812812
// ),
813-
// fs = cats.effect.std.Supervisor$$$Lambda$11630/0x00007f9a37fba5e0@46848850
813+
// fs = cats.effect.std.Supervisor$$$Lambda$11607/0x00007f0cc7fb7510@4f788064
814814
// ),
815-
// fs = cats.effect.kernel.Resource$$Lambda$11632/0x00007f9a37fbad80@42d5c898
815+
// fs = cats.effect.kernel.Resource$$Lambda$11609/0x00007f0cc7fb8000@16d06f3a
816816
// ),
817-
// fs = cats.effect.std.Dispatcher$$$Lambda$11633/0x00007f9a37fbb150@7085e04d
817+
// fs = cats.effect.std.Dispatcher$$$Lambda$11610/0x00007f0cc7fb83d0@5b58e2ff
818818
// ),
819-
// fs = cats.effect.kernel.Resource$$Lambda$11632/0x00007f9a37fbad80@67967d41
819+
// fs = cats.effect.kernel.Resource$$Lambda$11609/0x00007f0cc7fb8000@4d4f52d1
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$10942/0x00007f9a37e424c0@532bfeb,
833+
// thunk = cats.effect.IO$$$Lambda$10910/0x00007f0cc7e3a4c0@46bf80bc,
834834
// event = cats.effect.tracing.TracingEvent$StackTrace
835835
// )
836836
// ),
837-
// fs = cats.effect.std.Supervisor$$$Lambda$11630/0x00007f9a37fba5e0@69cf26dd
837+
// fs = cats.effect.std.Supervisor$$$Lambda$11607/0x00007f0cc7fb7510@53838eee
838838
// ),
839-
// fs = cats.effect.kernel.Resource$$Lambda$11632/0x00007f9a37fbad80@36972421
839+
// fs = cats.effect.kernel.Resource$$Lambda$11609/0x00007f0cc7fb8000@4f50d17b
840840
// ),
841-
// fs = cats.effect.std.Dispatcher$$$Lambda$11633/0x00007f9a37fbb150@623f3bc7
841+
// fs = cats.effect.std.Dispatcher$$$Lambda$11610/0x00007f0cc7fb83d0@78becb9a
842842
// ),
843-
// fs = cats.effect.kernel.Resource$$Lambda$11632/0x00007f9a37fbad80@72621d8c
843+
// fs = cats.effect.kernel.Resource$$Lambda$11609/0x00007f0cc7fb8000@423e0e51
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$10942/0x00007f9a37e424c0@532bfeb,
850+
// thunk = cats.effect.IO$$$Lambda$10910/0x00007f0cc7e3a4c0@46bf80bc,
851851
// event = cats.effect.tracing.TracingEvent$StackTrace
852852
// ),
853-
// f = cats.effect.kernel.Resource$$Lambda$11635/0x00007f9a37fbe278@628b34d3,
853+
// f = cats.effect.kernel.Resource$$Lambda$11612/0x00007f0cc7fb9230@d851c06,
854854
// event = cats.effect.tracing.TracingEvent$StackTrace
855855
// )
856856
```

0 commit comments

Comments
 (0)