[Python-ideas] Python 4: Concatenation

Sven R. Kunze srkunze at mail.de
Fri Jun 30 09:10:08 EDT 2017


On 30.06.2017 13:51, Jamie Willis wrote:
> Just as an aside, if a concatenation operator *was* included, a 
> suitable operator would be "++", this is the concatenation operator in 
> languages like Haskell (for strings) and the majority of Scala cases. 
> Alternatively "<>" is an alternative, being the monoidal append 
> operator in Haskell, which retains a certain similarly. I suggest 
> these purely for their accepted usage, which means they should be more 
> reasonable to identify.

'+' is the perfect concat operator. I love Python for this feature.

Regards,
Sven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170630/bfdcf457/attachment.html>


More information about the Python-ideas mailing list