Skip to content

Commit 54d0bad

Browse files
committed
deploy: ca6e270
1 parent 251d24f commit 54d0bad

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-
// 03:43:43.049829192
594-
// 03:43:44.048573906
595-
// 03:43:45.048218257
596-
// 03:43:46.048104357
593+
// 23:03:05.967463585
594+
// 23:03:06.966244043
595+
// 23:03:07.965998001
596+
// 23:03:08.965989137
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-
// 03:43:48.049264635
639-
// 03:43:49.049182848
640-
// 03:43:50.049397692
641-
// 03:43:51.049429617
638+
// 23:03:10.967425943
639+
// 23:03:11.967447484
640+
// 23:03:12.967462143
641+
// 23:03:13.967506072
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@78e429dc
674+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@7f3d5271
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$11964/0x00007fa5d3fd18c0@2a92dfb1,
809+
// thunk = cats.effect.IO$$$Lambda$10975/0x00007fd5bfe424c0@76c3cef,
810810
// event = cats.effect.tracing.TracingEvent$StackTrace
811811
// )
812812
// ),
813-
// fs = cats.effect.std.Supervisor$$$Lambda$12659/0x00007fa5d417d010@2d40cc56
813+
// fs = cats.effect.std.Supervisor$$$Lambda$11676/0x00007fd5bffeed78@3a23087a
814814
// ),
815-
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@375aa20f
815+
// fs = cats.effect.kernel.Resource$$Lambda$11678/0x00007fd5bffef518@4d84be07
816816
// ),
817-
// fs = cats.effect.std.Dispatcher$$$Lambda$12662/0x00007fa5d417db80@6e29d7f1
817+
// fs = cats.effect.std.Dispatcher$$$Lambda$11679/0x00007fd5bffef8e8@58bfc31c
818818
// ),
819-
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@52fae2d2
819+
// fs = cats.effect.kernel.Resource$$Lambda$11678/0x00007fd5bffef518@3ed217a0
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$11964/0x00007fa5d3fd18c0@79f3a6a7,
833+
// thunk = cats.effect.IO$$$Lambda$10975/0x00007fd5bfe424c0@1c90a8d8,
834834
// event = cats.effect.tracing.TracingEvent$StackTrace
835835
// )
836836
// ),
837-
// fs = cats.effect.std.Supervisor$$$Lambda$12659/0x00007fa5d417d010@1bdb294c
837+
// fs = cats.effect.std.Supervisor$$$Lambda$11676/0x00007fd5bffeed78@748c59cb
838838
// ),
839-
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@3b6df399
839+
// fs = cats.effect.kernel.Resource$$Lambda$11678/0x00007fd5bffef518@520dd365
840840
// ),
841-
// fs = cats.effect.std.Dispatcher$$$Lambda$12662/0x00007fa5d417db80@3e847a54
841+
// fs = cats.effect.std.Dispatcher$$$Lambda$11679/0x00007fd5bffef8e8@7ccca193
842842
// ),
843-
// fs = cats.effect.kernel.Resource$$Lambda$12661/0x00007fa5d417d7b0@5a2635bd
843+
// fs = cats.effect.kernel.Resource$$Lambda$11678/0x00007fd5bffef518@658300ba
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$11964/0x00007fa5d3fd18c0@79f3a6a7,
850+
// thunk = cats.effect.IO$$$Lambda$10975/0x00007fd5bfe424c0@1c90a8d8,
851851
// event = cats.effect.tracing.TracingEvent$StackTrace
852852
// ),
853-
// f = cats.effect.kernel.Resource$$Lambda$12664/0x00007fa5d417ebe0@18f5f6fc,
853+
// f = cats.effect.kernel.Resource$$Lambda$11681/0x00007fd5bfff4a90@73d74fc0,
854854
// event = cats.effect.tracing.TracingEvent$StackTrace
855855
// )
856856
```

0 commit comments

Comments
 (0)