Why shouldn’t I mix tabs and spaces?
The problem is twofold. First of all, Haskell is indentation sensitive, e.g. the following code isn’t valid: example = (a, b) where a = “Hello” b = “World” Both bindings need to be indented with the same number of spaces/tabs (see off-side rule). While it’s obvious in this case, it’s rather hidden in the following … Read more