Главная
Study mode:
on
1
intro
2
preamble
3
about this talk
4
about me
5
agenda
6
a function
7
another function
8
category of types t
9
list of numbers
10
clist of numbers
11
clist is a functor
12
io side effects
13
io functor
14
partial function
15
not very composable
16
option for better composability
17
option is a functor
18
composing functors
19
category od small categories
20
example of clist . option
21
covariant functor in general
22
contravariant functor
23
predicate is a contravariant functor
24
closed category
25
applicative functor is lax closed functor
26
example of applicative functor
27
bifunctor
28
example of bifunctor
29
profunctor
30
forget
31
star and costar
32
example of star profunctor
33
summary
Description:
Explore the world of functors in Python programming through this 23-minute conference talk from Conf42 Python 2024. Dive into various functor types, including covariant, contravariant, applicative, and bifunctors. Learn about category theory concepts, side effects in IO, partial functions, and composability. Discover how functors can enhance code organization and flexibility. Examine practical examples of different functor implementations and their applications in Python. Gain insights into advanced topics like closed categories, profunctors, and the star/costar relationship. By the end of this talk, acquire a comprehensive understanding of functors and their role in modern Python development.

Functor Zoo - Exploring Functional Programming Concepts

Conf42
Add to list