Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Manejar efectos secundarios en programación funcional con Efectos Algebraicos
Search
Quito Lambda
May 27, 2020
Programming
0
150
Manejar efectos secundarios en programación funcional con Efectos Algebraicos
Quito Lambda
May 27, 2020
Tweet
Share
More Decks by Quito Lambda
See All by Quito Lambda
Arquitecturas dirigidas por eventos con Kafka y Clojure
quitolambda
0
110
Svelte - Aplicaciones web mejoradas cibernéticamente
quitolambda
0
52
Bye Selenium, Hola Cypress
quitolambda
0
59
Mujeres en tecnología - Una aproximación usando Machine Learning
quitolambda
0
24
Posibilidad de supervivencia en el Titanic
quitolambda
0
24
Mujeres líderes - construyendo confianza en nosotras mismas
quitolambda
0
23
Java Reactivo - Construyendo un back-end funcional con Spring WebFlux
quitolambda
0
320
Te lo explico así nomás: Comónadas
quitolambda
0
50
Aplicaciones móviles BBF «Buenas, Bonitas y ¿Funcionales?»
quitolambda
0
46
Other Decks in Programming
See All in Programming
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
380
Goのmultiple errorsについて (2024年4月版)
syumai
4
1.1k
Netty Chicago Java User Group 2024-04-17
sullis
0
200
Apache Hive 4 on Treasure Data
ryukobayashi
0
400
VS Code をプロダクトにどう取り込むか
onomax
1
630
Deep Dive into React Stream/Serialize
mugi_uno
3
430
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
2
160
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
2
200
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
210
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
3
310
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
270
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
Debugging Ruby Performance
tmm1
70
11k
A designer walks into a library…
pauljervisheath
201
23k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
38
2.5k
Code Review Best Practice
trishagee
56
15k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
11
1k
In The Pink: A Labor of Love
frogandcode
138
21k
Testing 201, or: Great Expectations
jmmastey
29
6.4k
The Pragmatic Product Professional
lauravandoore
26
5.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Building Your Own Lightsaber
phodgson
100
5.7k
Transcript
#QuitoLambda QuitoLambda @quitolambda
¡Presenta tus ideas en Quito Lambda!
[email protected]
Efectos Algebraicos
Efectos Algebraicos
Efectos Secundarios (Side Effects) • • • •  •
•
Efectos Secundarios
Programación Funcional al rescate ✅ ❌ ❌ ❌ ✅
Funciones Puras • •
Funciones Puras • • • • • https://medium.com/@whamsicore/simple-explanation-of-pure-functions-c2787ad3c422
Cómo manejamos efectos secundarios en PF?
Mónadas “Una mónada es un monoide en la categoría de
los endofunctores” Entonces ¿cuál es el problema?
Mónadas
Mónada Maybe - Bind
Mónada Maybe
Mónada IO
Cual es el problemas con las mónadas? • • ❖
❖ https://blog.tmorris.net/posts/monads-do-not-compose/
Efectos Algebraicos • ◦ ◦ • ◦ ◦ ◦ ◦
Continuaciones
Continuaciones
Not production ready
Koka Language 効果 • •
None
Koka Effects
Repositorio de Koka https://github.com/koka-lang/koka
Efectos Algebraicos en el mundo real! https://b-studios.de/scala-effekt/
None
• https://hackage.haskell.org/package/extensible-effects • https://hackage.haskell.org/package/fused-effects • https://github.com/ocaml-multicore/ocaml-multicore • https://github.com/yallop/effects-bibliography
• https://dev.to/yelouafi/algebraic-effects-in-javascript-part-1---continuati ons-and-control-transfer-3g88 • https://github.com/yelouafi/algebraic-effects.js
• https://overreacted.io/algebraic-effects-for-the-rest-of-us
None
• • Tener en cuenta
Conclusiones
Preguntas?
Presenta tus ideas
[email protected]
Trabaja con nosotros stackbuilders.com/join Stack Builders
Ecuador @stackbuilders stackbuilders