Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of functional streams in this 44-minute conference talk from Scala Days 2023 Seattle. Navigate through the challenging currents of functional programming, starting with basic pure functional concepts and progressing to effects with cats-effect and concurrency with fs2. Build a mental model of stream evaluation, learning to reason through complex code by breaking it into small composable parts. Discover different frameworks for understanding code and see how functional streams, while inherently complex, can be demystified. Delve into topics such as data processing, events, stream operators, and examples, while exploring mental models, experimentation, and equational reasoning. Examine the pull model and its applications, and gain insights into substitution, evaluation, and composition diagrams. Suitable for functional programming enthusiasts and those interested in concurrent systems, this talk provides valuable resources for further learning.
Syllabus
Introduction
Definition
Data Processing and Events
Stream Operators
Stream Example
Learning
Mental Models
Experimentation
The Mental Model
Substitution
Evaluation and Substitution
Equational Reasoning
Example
Finding a better model
Pulling
Downward Arrow
Repeat Operator
Compose Diagrams
Start Diagrams
Limitations
Pull Model
Pull Model Applications
Resources
Taught by
Scala Days Conferences