It is quite common in doc strings to refer to the arguments. We support this by allowing the type declaration to be preceeded by a variable with that variable being used in the doc string (as in the examples above). This is purely to aid doc strings and has no semantic implications for the declarations.
In a similar way that doc string in Python are shown when the user uses help we use types for displaying user declarations or stypes for displaying system declarations.