Skip to content

Commit 8e9a001

Browse files
committed
deploy: ce6392e
1 parent 7e7bf82 commit 8e9a001

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-
// 13:30:04.518919960
594-
// 13:30:05.517546422
595-
// 13:30:06.517323086
596-
// 13:30:07.517247226
593+
// 13:54:19.549661223
594+
// 13:54:20.548427759
595+
// 13:54:21.548395207
596+
// 13:54:22.548099811
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-
// 13:30:09.518542889
639-
// 13:30:10.518721022
640-
// 13:30:11.518540920
641-
// 13:30:12.518606537
638+
// 13:54:24.549997435
639+
// 13:54:25.550049856
640+
// 13:54:26.550035015
641+
// 13:54:27.550041825
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@63f21dd9
674+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@3811edf5
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$10998/0x00007fd7b3e326c0@21b4972a,
809+
// thunk = cats.effect.IO$$$Lambda$11805/0x00007f055bf924c0@16224480,
810810
// event = cats.effect.tracing.TracingEvent$StackTrace
811811
// )
812812
// ),
813-
// fs = cats.effect.std.Supervisor$$$Lambda$11690/0x00007fd7b3fded78@317fa540
813+
// fs = cats.effect.std.Supervisor$$$Lambda$12500/0x00007f055c13f510@4c59cc06
814814
// ),
815-
// fs = cats.effect.kernel.Resource$$Lambda$11692/0x00007fd7b3fdf518@419646d
815+
// fs = cats.effect.kernel.Resource$$Lambda$12502/0x00007f055c140000@5e64c1f6
816816
// ),
817-
// fs = cats.effect.std.Dispatcher$$$Lambda$11693/0x00007fd7b3fdf8e8@7776ade2
817+
// fs = cats.effect.std.Dispatcher$$$Lambda$12503/0x00007f055c1403d0@69ade18a
818818
// ),
819-
// fs = cats.effect.kernel.Resource$$Lambda$11692/0x00007fd7b3fdf518@727e69e1
819+
// fs = cats.effect.kernel.Resource$$Lambda$12502/0x00007f055c140000@6d2fae7b
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$10998/0x00007fd7b3e326c0@3e67974b,
833+
// thunk = cats.effect.IO$$$Lambda$11805/0x00007f055bf924c0@6f147624,
834834
// event = cats.effect.tracing.TracingEvent$StackTrace
835835
// )
836836
// ),
837-
// fs = cats.effect.std.Supervisor$$$Lambda$11690/0x00007fd7b3fded78@7192a6e6
837+
// fs = cats.effect.std.Supervisor$$$Lambda$12500/0x00007f055c13f510@17877141
838838
// ),
839-
// fs = cats.effect.kernel.Resource$$Lambda$11692/0x00007fd7b3fdf518@33491c8b
839+
// fs = cats.effect.kernel.Resource$$Lambda$12502/0x00007f055c140000@1120638a
840840
// ),
841-
// fs = cats.effect.std.Dispatcher$$$Lambda$11693/0x00007fd7b3fdf8e8@32f94a62
841+
// fs = cats.effect.std.Dispatcher$$$Lambda$12503/0x00007f055c1403d0@1ec4ba3
842842
// ),
843-
// fs = cats.effect.kernel.Resource$$Lambda$11692/0x00007fd7b3fdf518@30264eb9
843+
// fs = cats.effect.kernel.Resource$$Lambda$12502/0x00007f055c140000@4d05a8ec
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$10998/0x00007fd7b3e326c0@3e67974b,
850+
// thunk = cats.effect.IO$$$Lambda$11805/0x00007f055bf924c0@6f147624,
851851
// event = cats.effect.tracing.TracingEvent$StackTrace
852852
// ),
853-
// f = cats.effect.kernel.Resource$$Lambda$11695/0x00007fd7b3fe4a90@54e76bcd,
853+
// f = cats.effect.kernel.Resource$$Lambda$12505/0x00007f055c141230@6124c574,
854854
// event = cats.effect.tracing.TracingEvent$StackTrace
855855
// )
856856
```

0 commit comments

Comments
 (0)