Comment

Comment by throwthrow0987

If you have an effect ReadsFromDB, you can't enforce statically that someone will not come along and change the ReadsFromDB effect to write to the db. That's why I think Haskell got it right in the first instance, functions are either pure or IO.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton