Category Theory for Programmers: Chapter 7 - Functors (by Example)

  Рет қаралды 5,693

code_report

code_report

Күн бұрын

PL Virtual Meetup: www.meetup.com/Programming-La...
CtFP Textbook: github.com/hmemcpy/milewski-c...
Github Repo: github.com/codereport/CtFP-2021
Functors Done Quick Blog: mmhaskell.com/blog/2018/1/22/...
Functors in JavaScript: • An Introduction to Fun...
Bartosz Milewski Category Theory 6.2: • Category Theory 6.2: F...
PLVM Discord: / discord
PLVM Twitter: / plvirtualmeetup
Follow me on Github: github.com/codereport
Follow me on Twitter: / code_report
Follow me on LinkedIn: / codereport

Пікірлер: 9
@markhathaway9456
@markhathaway9456 Жыл бұрын
"mapping between categories" is the most succinct description and after that all the difficulty was in Haskell's lack of familiar code and C++ lack of *
@code_report
@code_report 3 жыл бұрын
At 2:20 I say "A functor just defines" ... I meant "A typeclass just defines"
@chewbaccarampage
@chewbaccarampage 2 жыл бұрын
What software are you using for your slides? It's very slick.
@Cristian_DG
@Cristian_DG 3 жыл бұрын
you can rewrite map using this type signature: map :: (a -> b) -> ([]) a -> ([]) b and this is valid in haskell
@RogasTV
@RogasTV 3 жыл бұрын
The composability of functors is an interesting idea. You could have a function a -> b and map it not only on “containered” a and b (e.g. [a], [b]) but on “containered” and “maybed” a and b ([Maybe a], [Maybe b]). Great work with the videos! This is exactly what I needed to advance my category theory explorations.
@Swangorapofficial
@Swangorapofficial Жыл бұрын
Wow this is super useful I’m new into coding and this is excellent!
@matthewhammond859
@matthewhammond859 3 жыл бұрын
I'm completely new to programming, thanks for introducing me to this content, even though at this time a lot of it is going over my head.
@japedr
@japedr 3 жыл бұрын
In 10:17, is there a reason why fmap is not static? Great work as always.
@EngineerNick
@EngineerNick 3 жыл бұрын
Thankyou this is a great explanation :) I feel like I have met the need for functors pretty frequently, but for complex types it often feels impractical to implement the fmap function so i write some kind of spaghetti instead. Also, once you write fmap.... it's not always clear how to leverage it in a language like python where partial functions are an inconvenience and my code is riddled with mutable types anyway. *sad imperative noises*
Category Theory for Programmers: Chapter 1 - Category
20:14
code_report
Рет қаралды 61 М.
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 34 МЛН
100❤️
00:20
Nonomen ノノメン
Рет қаралды 71 МЛН
C++ Functors
21:28
oneproduct
Рет қаралды 27 М.
Category Theory for Programmers: Chapter 4 - Kleisli Categories
18:12
27 Unhelpful Facts About Category Theory
9:26
Oliver Lugg
Рет қаралды 414 М.
Why Monads? - Luca Belli
29:26
Typelevel
Рет қаралды 14 М.
Metaclasses in Python
15:45
mCoding
Рет қаралды 149 М.
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 4,1 МЛН
Девушка и AirPods Max 😳
0:59
ОТЛИЧНИКИ
Рет қаралды 16 М.
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 5 МЛН
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Overtake lab
Рет қаралды 120 М.
📦Он вам не медведь! Обзор FlyingBear S1
18:26
Настоящий детектор , который нужен каждому!
0:16
Ender Пересказы
Рет қаралды 369 М.
TOP-18 ФИШЕК iOS 18
17:09
Wylsacom
Рет қаралды 738 М.