2 ms·
GHC is there to please you, not the other way around. It enables you to practically turn any runtime error into a compile time error, if you choose your types c
by runeks 10y ago
GHC is there to please you, not the other way around. It enables you to practically turn any runtime error into a compile time error, if you choose your types carefully.
I write a lot of Haskell these days, and whenever I'm faced with a compiler error I don't understand, it always ends with finding out that my data model was inaccurate. Two ends weren't fitting together, because I hadn't fully understood what those two ends actually were.