moonbitlang / core

MoonBit's Core library
https://moonbitlang.com/
Apache License 2.0
643 stars 81 forks source link

add `Iter[String]::join` #1257

Open Yoorkin opened 4 days ago

Yoorkin commented 4 days ago

String::concat was a mistake. In the self parameter, the types in the type constructor can be a concrete type like String. After discussing offline, we will move to Iter[String]::join and make String::concat a function. The join method will be added later because users can always use other methods instead.

Originally posted by @Yoorkin in https://github.com/moonbitlang/core/issues/1249#issuecomment-2502569493

yj-qin commented 4 days ago

Related issue #1171