Re:Leaving Haskell Behind
by kccqzy on Thursday August 24, 2023 @01:01PM
(#37251467)
And what's wrong with the kitchen sink monad pattern? I've certainly used exactly that. And I have no problems with it.
[ Parent
| on HN ]
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.