Skip to content

Commit 4e0a45d

Browse files
committed
deploy: abe9b03
1 parent 8ea2ce5 commit 4e0a45d

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-
// 13:43:10.243170505
722-
// 13:43:11.243173808
723-
// 13:43:12.243208496
724-
// 13:43:13.243190252
721+
// 13:22:58.273198444
722+
// 13:22:59.273101407
723+
// 13:23:00.273117560
724+
// 13:23:01.273226435
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-
// 13:43:15.245800863
767-
// 13:43:16.245777276
768-
// 13:43:17.245785493
769-
// 13:43:18.245861371
766+
// 13:23:03.275706873
767+
// 13:23:04.275838420
768+
// 13:23:05.275873368
769+
// 13:23:06.275793794
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@6f8180ae
802+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@39e4417c
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$12038/0x00007f26dc036ca0@50ae6fd7,
936+
// thunk = cats.effect.IO$$$Lambda$11206/0x00007faf33e960a0@504042a5,
937937
// event = cats.effect.tracing.TracingEvent$StackTrace
938938
// )
939939
// ),
940-
// fs = cats.effect.std.Supervisor$$$Lambda$12934/0x00007f26dc237308@aba2604
940+
// fs = cats.effect.std.Supervisor$$$Lambda$12103/0x00007faf340a2398@629ee50c
941941
// ),
942-
// fs = cats.effect.std.Dispatcher$$$Lambda$12935/0x00007f26dc2376d8@541d9690
942+
// fs = cats.effect.std.Dispatcher$$$Lambda$12104/0x00007faf340a2768@6ce4ee62
943943
// ),
944-
// fs = cats.effect.kernel.Resource$$Lambda$12880/0x00007f26dc21af70@4bc4b516
944+
// fs = cats.effect.kernel.Resource$$Lambda$12049/0x00007faf3408e188@2c1fd38b
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$12038/0x00007f26dc036ca0@68b7ab6e,
957+
// thunk = cats.effect.IO$$$Lambda$11206/0x00007faf33e960a0@7e98e9c7,
958958
// event = cats.effect.tracing.TracingEvent$StackTrace
959959
// )
960960
// ),
961-
// fs = cats.effect.std.Supervisor$$$Lambda$12934/0x00007f26dc237308@33e62a7a
961+
// fs = cats.effect.std.Supervisor$$$Lambda$12103/0x00007faf340a2398@6b3bc59d
962962
// ),
963-
// fs = cats.effect.std.Dispatcher$$$Lambda$12935/0x00007f26dc2376d8@bf78380
963+
// fs = cats.effect.std.Dispatcher$$$Lambda$12104/0x00007faf340a2768@2067b166
964964
// ),
965-
// fs = cats.effect.kernel.Resource$$Lambda$12880/0x00007f26dc21af70@6575ebed
965+
// fs = cats.effect.kernel.Resource$$Lambda$12049/0x00007faf3408e188@7236bd6a
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$12038/0x00007f26dc036ca0@68b7ab6e,
972+
// thunk = cats.effect.IO$$$Lambda$11206/0x00007faf33e960a0@7e98e9c7,
973973
// event = cats.effect.tracing.TracingEvent$StackTrace
974974
// ),
975-
// f = cats.effect.kernel.Resource$$Lambda$12937/0x00007f26dc230800@7291139a,
975+
// f = cats.effect.kernel.Resource$$Lambda$12106/0x00007faf340a3bc8@4652d3ce,
976976
// event = cats.effect.tracing.TracingEvent$StackTrace
977977
// )
978978
```

0 commit comments

Comments
 (0)