2 ms·
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 instea
by mundacho 7y 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.