Thanks for doing videos on cats effect 3 and scala 3, it goes great with my morning coffee 🤘🏼☕
@rockthejvm3 жыл бұрын
More to come!
@alexandersviridov86822 жыл бұрын
Thank You! I'm struggling with cats-effect and these videos are of great help for me.
@hermannhueck72502 жыл бұрын
Nice video (I like it), but one small thing: *> is NOT sequencing/flatMap. *> is an alias for Applicative#productR (exactly: Apply#productR) >> is an alias for Monad#flatMap, where the input is ignored (exactly: FlatMap#flatMap) These two are semantically different. But in many cases you can use them interchangably.
@konstiblum Жыл бұрын
beware that the .debug method is now part of cats, so you might want to name your debug method differently to avoid a compilation error
@rockthejvm Жыл бұрын
👍
@vicaba02 Жыл бұрын
👍
@villenita3 жыл бұрын
Really useful, thanks for another quick practical intro to new stuff.
@rockthejvm3 жыл бұрын
Glad it helps!
@ollikortelahti2 жыл бұрын
Thanks for the great video! Is there a reason you use flatMap instead of map when pattern matching with race and racePair?
@rockthejvm2 жыл бұрын
It's because we'd like to return different effects instead of different values.
@mdfitumi2 жыл бұрын
Is it possible to run 1+ fibers concurrently on the same thread?
@rockthejvm2 жыл бұрын
You can run 100000+ fibers on the same native thread.