I had a set of chained replaces that were set out as a vertical list
.replace(x1, y1)
.replace(x2, Y2)
.replace(X3 ,Y3)
Run
these were reformated to fill the line length with splits being int he middle
of the paramters
.replace(x1,y1).replace(
X2,Y2).replace(X3,Y3) etc....
Run
I refactored the seq of replaces to iterate over a seq
let mySwaps = @[(x1,y1),(x2,y2),(x3,y3]....[(x10, y10)]
Run
this was 'nicely' reformatted to
let
mySwaps =
@[
(x1,Y1),
(x2,Y2),
....
(x10,y10)
]
Run
<religeous_war = true> Now, given the reformatting of mySwaps above, I'm
struggling to understand why, in a language that uses indentation to enforce
structure, the 'of' in case statements is aligned with the 'case' rather than
being indented. I would have expected the 'of' statements to be indented with
respect to the case. <religeous_War = off>