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
Quito Lambda
May 27, 2020
Programming
0
230
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
130
Svelte - Aplicaciones web mejoradas cibernéticamente
quitolambda
0
70
Bye Selenium, Hola Cypress
quitolambda
0
87
Mujeres en tecnología - Una aproximación usando Machine Learning
quitolambda
0
31
Posibilidad de supervivencia en el Titanic
quitolambda
0
30
Mujeres líderes - construyendo confianza en nosotras mismas
quitolambda
0
33
Java Reactivo - Construyendo un back-end funcional con Spring WebFlux
quitolambda
0
480
Te lo explico así nomás: Comónadas
quitolambda
0
70
Aplicaciones móviles BBF «Buenas, Bonitas y ¿Funcionales?»
quitolambda
0
55
Other Decks in Programming
See All in Programming
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
200
Go コードベースの構成と AI コンテキスト定義
andpad
0
150
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
39
26k
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
500
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
540
TestingOsaka6_Ozono
o3
0
180
ゆくKotlin くるRust
exoego
1
170
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
200
クラウドに依存しないS3を使った開発術
simesaba80
0
180
これならできる!個人開発のすゝめ
tinykitten
PRO
0
140
愛される翻訳の秘訣
kishikawakatsumi
3
350
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
470
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The untapped power of vector embeddings
frankvandijk
1
1.5k
Fireside Chat
paigeccino
41
3.8k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
260
Prompt Engineering for Job Search
mfonobong
0
130
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
83
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
400
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
65
35k
Six Lessons from altMBA
skipperchong
29
4.1k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
120
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
150
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