Y
Hacker News
new
|
ask
|
show
|
jobs
by
jappgar
56 days ago
In practice this just doesn't happen because you've composed a bunch of pure functions with various branches within them.
You lose the ability to log "why" some effect is happening.
1 comments
spockz
56 days ago
Eh sure. But you can always collect/carry decisions in something like an Either. When using arrows or your own monadic bindings it is even possible to abstract this away from view.
link