Skip to content

Commit 190c16b

Browse files
committed
deploy: 2d1232c
1 parent 85b87c3 commit 190c16b

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

guide.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -718,10 +718,10 @@ val program =
718718
// program: Stream[[x]IO[x], Unit] = Stream(..)
719719

720720
program.compile.drain.unsafeRunSync()
721-
// 23:34:18.587541338
722-
// 23:34:19.587470439
723-
// 23:34:20.587486508
724-
// 23:34:21.587470930
721+
// 23:38:50.646843454
722+
// 23:38:51.646780912
723+
// 23:38:52.646756962
724+
// 23:38:53.646780834
725725
```
726726

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

765765
program1.compile.drain.unsafeRunSync()
766-
// 23:34:23.589503005
767-
// 23:34:24.589506491
768-
// 23:34:25.589572818
769-
// 23:34:26.589567073
766+
// 23:38:55.648942580
767+
// 23:38:56.648964434
768+
// 23:38:57.648951698
769+
// 23:38:58.648893903
770770
```
771771

772772
### Talking to the external world
@@ -799,7 +799,7 @@ The way you bring synchronous effects into your effect type may differ. `Sync.de
799799
import cats.effect.Sync
800800

801801
val T = Sync[IO]
802-
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@4461732
802+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@1276504a
803803
val s2 = Stream.exec(T.delay { destroyUniverse() }) ++ Stream("...moving on")
804804
// s2: Stream[[x]IO[x], String] = Stream(..)
805805
s2.compile.toVector.unsafeRunSync()
@@ -933,15 +933,15 @@ stream.toUnicastPublisher
933933
// source = Bind(
934934
// source = Eval(
935935
// fa = Delay(
936-
// thunk = cats.effect.IO$$$Lambda$11243/0x00007f1cf3ee60a0@ec1b33d,
936+
// thunk = cats.effect.IO$$$Lambda$11331/0x00007ff6d3ee0ac0@356ef874,
937937
// event = cats.effect.tracing.TracingEvent$StackTrace
938938
// )
939939
// ),
940-
// fs = cats.effect.std.Supervisor$$$Lambda$12143/0x00007f1cf40e4000@44845552
940+
// fs = cats.effect.std.Supervisor$$$Lambda$12233/0x00007ff6d40da678@58f1fee3
941941
// ),
942-
// fs = cats.effect.std.Dispatcher$$$Lambda$12144/0x00007f1cf40e43d0@631f9841
942+
// fs = cats.effect.std.Dispatcher$$$Lambda$12234/0x00007ff6d40daa48@2d1029b4
943943
// ),
944-
// fs = cats.effect.kernel.Resource$$Lambda$12089/0x00007f1cf40c8e60@459b154b
944+
// fs = cats.effect.kernel.Resource$$Lambda$12179/0x00007ff6d40c6d90@2b6391c1
945945
// )
946946
```
947947

@@ -954,25 +954,25 @@ val publisher: Resource[IO, StreamUnicastPublisher[IO, Int]] = Stream(1, 2, 3).c
954954
// source = Bind(
955955
// source = Eval(
956956
// fa = Delay(
957-
// thunk = cats.effect.IO$$$Lambda$11243/0x00007f1cf3ee60a0@46401e9e,
957+
// thunk = cats.effect.IO$$$Lambda$11331/0x00007ff6d3ee0ac0@690c7181,
958958
// event = cats.effect.tracing.TracingEvent$StackTrace
959959
// )
960960
// ),
961-
// fs = cats.effect.std.Supervisor$$$Lambda$12143/0x00007f1cf40e4000@2088edc1
961+
// fs = cats.effect.std.Supervisor$$$Lambda$12233/0x00007ff6d40da678@3e5d9ca5
962962
// ),
963-
// fs = cats.effect.std.Dispatcher$$$Lambda$12144/0x00007f1cf40e43d0@3f4aa401
963+
// fs = cats.effect.std.Dispatcher$$$Lambda$12234/0x00007ff6d40daa48@122c4f53
964964
// ),
965-
// fs = cats.effect.kernel.Resource$$Lambda$12089/0x00007f1cf40c8e60@22e6dfee
965+
// fs = cats.effect.kernel.Resource$$Lambda$12179/0x00007ff6d40c6d90@2576394e
966966
// )
967967
publisher.use { p =>
968968
p.toStream[IO].compile.toList
969969
}
970970
// res59: IO[List[Int]] = FlatMap(
971971
// ioe = Delay(
972-
// thunk = cats.effect.IO$$$Lambda$11243/0x00007f1cf3ee60a0@46401e9e,
972+
// thunk = cats.effect.IO$$$Lambda$11331/0x00007ff6d3ee0ac0@690c7181,
973973
// event = cats.effect.tracing.TracingEvent$StackTrace
974974
// ),
975-
// f = cats.effect.kernel.Resource$$Lambda$12146/0x00007f1cf40e5630@45f10413,
975+
// f = cats.effect.kernel.Resource$$Lambda$12236/0x00007ff6d40e0000@77b1e8a3,
976976
// event = cats.effect.tracing.TracingEvent$StackTrace
977977
// )
978978
```

0 commit comments

Comments
 (0)