Hacker News new | ask | show | jobs
by mundacho 2405 days ago
It's done a lot, it's used for mocking in FP.

For example, I hace a monad that saves to a database using effects. I change the effect to update an array instead and I have code that I can use in a unit test.