3 ms·
Haskell's compiler messages can be daunting for beginners but in the hands of an experienced user they can act like a surgeon's assistant, putting the right too
by chongli 7y ago
Haskell's compiler messages can be daunting for beginners but in the hands of an experienced user they can act like a surgeon's assistant, putting the right tool in your hand without you having to go and find it. This is the magic of types and features like typed holes, for which the compiler will suggest things in scope that will fit!
Haskell programming at its best starts to feel like you're putting together a jigsaw puzzle, and everything "just works" once you get it to compile.