An open API service indexing awesome lists of open source software.

https://github.com/systemfw/tl-summit-boston-2018

My Typelevel Summit talk on Declarative Control Flow with Fs2 Stream
https://github.com/systemfw/tl-summit-boston-2018

Last synced: about 2 months ago
JSON representation

My Typelevel Summit talk on Declarative Control Flow with Fs2 Stream

Awesome Lists containing this project

README

          

# Declarative control flow with fs2 Stream

Slides for my talk at [Typelevel Summit](https://typelevel.org/event/2018-03-summit-boston/) 2018, in Boston.
You can look at them online at https://systemfw.github.io/TL-Summit-Boston-2018/#/ (use the spacebar to advance)

## Description

fs2 is a purely functional streaming library, with support for concurrent and nondeterministic merging of arbitrary streams. Concurrency support means that we can use Stream not only to process data in constant memory, but also as a very general abstraction for control flow: whilst IO gives us an excellent model for a single effectful action, assembling behaviour with it often has a very imperative flavour (pure, but still imperative). This talk will introduce fs2 combinators by example, and will hopefully show how we can model control flow in a declarative, high level, composable fashion. In particular, we will focus on concurrent combinators.