Hacker News new | ask | show | jobs
by vjerancrnjak 281 days ago
Flix does not have generic effects, yet it has generic traits.

This hints that effects are not meant to deal with data variability.

Effects are allowing variability of control flow.

Abstracting `try/catch/finally` or `async/await`.

For example, something like "durable workflows" is just a specific effect implementation, code stays the same.

1 comments

True, although I think they're working on support for generic effects