On 6 September 2011 12:57, Camillo Bruni <[email protected]> wrote: > We still have a lot of awkward methods on String for doing math: > > String >> #* arg > ^ arg adaptToString: self andSend: #*
+1 for killing that. > Who is relying on them? E-Toys was using that. > I would like to deprecate them all :D > I guess some binary math selectors might make sense > > String >> #* count > ^ self class new: self size * count streamContents: [ :stream| > count timesRepeat: [ stream << self ]]. +1 Lukas -- Lukas Renggli www.lukas-renggli.ch
