3 ms·
Here is an interesting discussion from the julia language where string concatenation is indeed the * operator: https://github.com/JuliaLang/julia/issues/1771 h
by kwertzzz 5y ago
Here is an interesting discussion from the julia language where string concatenation is indeed the * operator:
https://github.com/JuliaLang/julia/issues/1771 https://github.com/JuliaLang/julia/issues/1771
In particular:
https://github.com/JuliaLang/julia/issues/1771#issuecomment-23035083 https://github.com/JuliaLang/julia/issues/1771#issuecomment-...
Undoubtedly, it is a big surprise for new users (without exposure to free monoids :-)), that * is string concatenation.
By the way, in python juxtaposition ("abc" "def") is also valid.