Skip to content

Commit 85b87c3

Browse files
committed
deploy: 058540c
1 parent d4594ec commit 85b87c3

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-
// 14:54:44.116474985
722-
// 14:54:45.116456899
723-
// 14:54:46.116522935
724-
// 14:54:47.116408212
721+
// 23:34:18.587541338
722+
// 23:34:19.587470439
723+
// 23:34:20.587486508
724+
// 23:34:21.587470930
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-
// 14:54:49.119163226
767-
// 14:54:50.119141421
768-
// 14:54:51.119194888
769-
// 14:54:52.119217358
766+
// 23:34:23.589503005
767+
// 23:34:24.589506491
768+
// 23:34:25.589572818
769+
// 23:34:26.589567073
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@1b78bd3b
802+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@4461732
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$11036/0x00007f0867e9f2a0@6699aa9a,
936+
// thunk = cats.effect.IO$$$Lambda$11243/0x00007f1cf3ee60a0@ec1b33d,
937937
// event = cats.effect.tracing.TracingEvent$StackTrace
938938
// )
939939
// ),
940-
// fs = cats.effect.std.Supervisor$$$Lambda$11929/0x00007f08680605d0@6a64bebd
940+
// fs = cats.effect.std.Supervisor$$$Lambda$12143/0x00007f1cf40e4000@44845552
941941
// ),
942-
// fs = cats.effect.std.Dispatcher$$$Lambda$11930/0x00007f08680609a0@2e364702
942+
// fs = cats.effect.std.Dispatcher$$$Lambda$12144/0x00007f1cf40e43d0@631f9841
943943
// ),
944-
// fs = cats.effect.kernel.Resource$$Lambda$11875/0x00007f0868043230@46404123
944+
// fs = cats.effect.kernel.Resource$$Lambda$12089/0x00007f1cf40c8e60@459b154b
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$11036/0x00007f0867e9f2a0@6da6ee0b,
957+
// thunk = cats.effect.IO$$$Lambda$11243/0x00007f1cf3ee60a0@46401e9e,
958958
// event = cats.effect.tracing.TracingEvent$StackTrace
959959
// )
960960
// ),
961-
// fs = cats.effect.std.Supervisor$$$Lambda$11929/0x00007f08680605d0@22783454
961+
// fs = cats.effect.std.Supervisor$$$Lambda$12143/0x00007f1cf40e4000@2088edc1
962962
// ),
963-
// fs = cats.effect.std.Dispatcher$$$Lambda$11930/0x00007f08680609a0@3eea794e
963+
// fs = cats.effect.std.Dispatcher$$$Lambda$12144/0x00007f1cf40e43d0@3f4aa401
964964
// ),
965-
// fs = cats.effect.kernel.Resource$$Lambda$11875/0x00007f0868043230@7a676ee9
965+
// fs = cats.effect.kernel.Resource$$Lambda$12089/0x00007f1cf40c8e60@22e6dfee
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$11036/0x00007f0867e9f2a0@6da6ee0b,
972+
// thunk = cats.effect.IO$$$Lambda$11243/0x00007f1cf3ee60a0@46401e9e,
973973
// event = cats.effect.tracing.TracingEvent$StackTrace
974974
// ),
975-
// f = cats.effect.kernel.Resource$$Lambda$11932/0x00007f0868061e00@32d62fa7,
975+
// f = cats.effect.kernel.Resource$$Lambda$12146/0x00007f1cf40e5630@45f10413,
976976
// event = cats.effect.tracing.TracingEvent$StackTrace
977977
// )
978978
```

0 commit comments

Comments
 (0)