How to indent types after where

question

#1

Sometimes I find it logical to break lines after where in a method definition, like this (obviously for longer names/argument lists):

function Foo(lotof::T, arguments::S) where
    {T, S} # <- asking about this indentation
    # function body
end

I find that I am not yet used to the visual appearance of the indentation, but I don’t necessarily have a better idea. I am curious if this indentation is just an accident after the syntax change (I am using Emacs), and if there would be better options.


#2

I have come to accept

function Foo(lotof::T, arguments::S 
              ) where {T, S}
    # function body
end

(ie newline before the closing )) as a reasonable compromise.