2 ms·
> You end up having to do a lot of substitution and manual unification in your head. Hum... I don't think I do that. I did a lot when I was first learning it,
by marcosdumay 4y ago
> You end up having to do a lot of substitution and manual unification in your head.
Hum... I don't think I do that. I did a lot when I was first learning it, but not now.
Now there's some pattern matching (`f :: a -> m b` immediately says something) and a lot of generalization (so I don't think "I have a list, I want to apply a function"; I think "I will apply a function, I want something I can map"). The `Applicative m => m a` comes before the `[a]`.