4 ms·
And what's wrong with the kitchen sink monad pattern? I've certainly used exactly that. And I have no problems with it.
by kccqzy 3y ago
And what's wrong with the kitchen sink monad pattern? I've certainly used exactly that. And I have no problems with it.
- rowanG077 3y agoBecause your code is very much overconstrained at that point. For the same reason you don't add a `Num a` constraint to list `head` function. You have now essentially fused your function to your codebase.
- kccqzy 3y agoThat's not a problem in business logic heavy code. Requirements change and you could use previously unnecessary constraints at any time.