DEV Community

loading...

Discussion on: Why algebraic effects matter in F#

Collapse
shimmer profile image
Brian Berns Author

I think of algebraic effects as separating an effect from the handler for that effect. Exceptions are the most familiar example: You can "raise" an exception without knowing where or how that exception will be handled. Algebraic effects extend that same idea to other impure operations, such as writing to a file.

Forem Open with the Forem app