You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I disagree with the haskell-style-guide here.
First, 4 seems to be very inconsistent, it'd be easier to agree to 2, because we use 2 everywhere else too.
Second, indenting to the module name seems acceptable in this case, because it will always be indented by the length of "module " and not more. But this second reason seems to be invalidated by the behavior in this case:
moduleGraphics.Shape (
Shape(..),
triangle) where
So we're indenting to 2 here, so maybe we should indent to 2 in the other case too.
Let's see how it goes while fixing this, if it's easy to add a variable to have it at 4, I will add it.
First, 4 seems to be very inconsistent, it'd be easier to agree to 2, because we use 2 everywhere else too.
I don't understand this one; the style guide actually tries hard to use 4 chars indentations almost everywhere except for where clauses, which use an "odd" 2-char as a visual cue.
According to
haskell-style-guide
, export list should be indented with 4 spaces:The current implementation indents it as:
I guess the solution is to add a configurable variable for export list offset.
The text was updated successfully, but these errors were encountered: