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 fun...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Quito Lambda
May 27, 2020
Programming
240
0
Share
Manejar efectos secundarios en programación funcional con Efectos Algebraicos
Quito Lambda
May 27, 2020
More Decks by Quito Lambda
See All by Quito Lambda
Arquitecturas dirigidas por eventos con Kafka y Clojure
quitolambda
0
140
Svelte - Aplicaciones web mejoradas cibernéticamente
quitolambda
0
74
Bye Selenium, Hola Cypress
quitolambda
0
98
Mujeres en tecnología - Una aproximación usando Machine Learning
quitolambda
0
38
Posibilidad de supervivencia en el Titanic
quitolambda
0
35
Mujeres líderes - construyendo confianza en nosotras mismas
quitolambda
0
36
Java Reactivo - Construyendo un back-end funcional con Spring WebFlux
quitolambda
0
500
Te lo explico así nomás: Comónadas
quitolambda
0
82
Aplicaciones móviles BBF «Buenas, Bonitas y ¿Funcionales?»
quitolambda
0
58
Other Decks in Programming
See All in Programming
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
1.7k
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.2k
デフォルト運用のCodeRabbit、1年で何が変わったか / How CodeRabbit Changed Our Code Review in 1 Year
bake0937
1
110
Oxlintのカスタムルールの現況
syumai
5
890
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
4.1k
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
160
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
520
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
410
色即是空、空即是色、データサイエンス
kamoneggi
1
210
Swiftのレキシカルスコープ管理
kntkymt
0
200
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
970
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
2
1k
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Tell your own story through comics
letsgokoyo
1
930
Discover your Explorer Soul
emna__ayadi
2
1.1k
A designer walks into a library…
pauljervisheath
211
24k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Leo the Paperboy
mayatellez
7
1.8k
HDC tutorial
michielstock
2
680
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
How GitHub (no longer) Works
holman
316
150k
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