4 ms·
In Haskell, I usually find the quality of error messages to be much worse without top-level annotations.
by klodolph 7y ago
In Haskell, I usually find the quality of error messages to be much worse without top-level annotations.
- dragonwriter 7y agoI agree with that, too. My usual practice with Haskell is leave types off to leverage the information gained from type inference (with the intent of annotating signatures when I'm done), but then tell Haskell what I'm thinking the types should be if things break with impenetrable error messages. But my coding in Haskell is pretty much personal and toy projects; I like the approach, but it may not be ideal for coding in anger.