Hacker News new | ask | show | jobs
by rowanG077 1030 days ago
Because 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.
1 comments

That's not a problem in business logic heavy code. Requirements change and you could use previously unnecessary constraints at any time.