Главная
Study mode:
on
1
Introduction
2
What makes C
3
What is a functor
4
Is this the first time we have seen a functor
5
Can we go beyond that
6
Optional
7
Functor
8
F function
9
Conditional checks
10
Why should I care
11
What went wrong
12
Join
13
Joining
14
Helper function
15
Formal Definition
16
Vector Monad
17
Vector of Files
18
Range Join
19
Filtering
20
Simulations
21
Evolve Boards
22
Cartesian Products
23
Other Monads
24
Style Optional
25
Option
26
Expected
27
Parsing
28
TL Expected
29
Ranges
30
Future
31
Asynchronous
32
Two fundamental issues
33
A continuation
34
B continuation
35
Possible fixes
36
Stud Execution Framework
37
CPlusMoradic Interface
38
Walkthrough
39
Type aliases
40
Business logic
Description:
Explore the concept of monads in modern C++ through this comprehensive conference talk from ACCU 2023. Delve into the world of functional programming techniques as speakers Georgi Koyrushki and Alistair Fisher demystify monads and their implementation in C++. Learn about functors as building blocks, discover how monadic operations can transform imperative-style code into concise functional pipelines, and understand their role in reducing boilerplate and side effects. Examine practical examples related to std::vector and std::optional, and gain insights into recent and upcoming C++ standard developments. Compare C++'s monadic support with other programming languages and explore various monad types, including Optional, Expected, and Future. No prior functional programming knowledge is required for this informative session that bridges theory and coding examples.

Monads in Modern C++

ACCU Conference
Add to list