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
69
Bye Selenium, Hola Cypress
quitolambda
0
84
Mujeres en tecnología - Una aproximación usando Machine Learning
quitolambda
0
28
Posibilidad de supervivencia en el Titanic
quitolambda
0
29
Mujeres líderes - construyendo confianza en nosotras mismas
quitolambda
0
32
Java Reactivo - Construyendo un back-end funcional con Spring WebFlux
quitolambda
0
470
Te lo explico así nomás: Comónadas
quitolambda
0
67
Aplicaciones móviles BBF «Buenas, Bonitas y ¿Funcionales?»
quitolambda
0
52
Other Decks in Programming
See All in Programming
CSC305 Lecture 09
javiergs
PRO
0
330
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
130
Researchlyの開発で参考にしたデザイン
adsholoko
0
100
ALL CODE BASE ARE BELONG TO STUDY
uzulla
28
6.8k
Pythonに漸進的に型をつける
nealle
1
140
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
840
オンデバイスAIとXcode
ryodeveloper
0
350
Dive into Triton Internals
appleparan
0
320
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
1k
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
14
47k
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
630
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
170
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Speed Design
sergeychernyshev
32
1.2k
Visualization
eitanlees
150
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Keith and Marios Guide to Fast Websites
keithpitt
412
23k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
A Tale of Four Properties
chriscoyier
161
23k
A better future with KSS
kneath
239
18k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
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