FS2: Typed Functional Streams in Scala
Вставка
- Опубліковано 27 сер 2024
- Blog post: blog.rockthejv...
If you're interested in Cats Effect, the core library in the Typelevel ecosystem that powers FS2: rockthejvm.com...
This mini-series is for the advanced Scala programmer. We learn how to manage functional streams for Scala (FS2) with one of the best libraries for this purpose in the Scala ecosystem. In this first video, we explore what streams are, how to build them, and some essential transformations.
Follow Rock the JVM on:
LinkedIn: / rockthejvm
Twitter: / rockthejvm
Blog: rockthejvm.com...
-------------------------------------------------------------------------
Home: rockthejvm.com
-------------------------------------------------------------------------
Been wondering when you'll get to do some of your quality work on fs2. Can't wait for more advanced fs2 vids.
Thank you for this video, it is the best and quickest introduction to Fs2. I have a taks based on this library to be done a week ago.
Thanks so much for this, been waiting for FS2 tutorial since so long. Looking forward for the part 2 (and more) videos explaining the advanced fs2 concepts too.
I couldn’t help but notice that the debug function is not pure, but has side effect in it. Not that it matters for the demo. Thanks for your video. 😀
It's for demo purposes and does not "stain" the IO chains, because we process IOs, which themselves wrap potentially impure computations.
Thanks for this content!
I love your scala tips
you should do one on ZIO streams too
it's pretty identical
Great video
You rock!
5:52 can you @Daniel tell as what hot keys you've used for block selecting please?
I'm on a Mac, so I hit Option-Option(then hold), then arrow keys or Shift-clicks for multi-cursor.
For linux and i guess Windows as well block-selection is shift+alt+mouse movement, multi-cursor is ctrl-ctrl + arrows
Where's Margot Robbie and Jessica Biel or Ada Condeescu or Madalina Ghenea
Why is that called Pure type? AFAIK cats lib has Id type for that same purpose
Yep, Id works in the same way. Pure is used for covariance reasons.
what is an example of an existing real-life application of this
Any backend where your data comes asynchronously.