Re: Ken's abrasiveness
- Posted by Kat <KAT12 at c??sahs.net> May 29, 2008
- 718 views
c.k.lester wrote: > > Jeremy Cowgar wrote: > > Kat wrote: > > > Jason, CK is adding repeat_str() to Eu, and Eu doesn't have a string type. > > Eu does not have a string type, but it certainly has strings. repeat_str() > > sounds > > like a nice function to have in the standard library: > > > > }}} <eucode> > > ? repeat('A', 2) -- "AA" > > ? repeat("ABC", 2) -- {"ABC","ABC"} > > ? repeat_str("ABC", 2) -- "ABCABC" > > </eucode> {{{ > > I had simply asked about this functionality being currently available in > 4.0 alpha alpha, then suggested it be added if not. Derek agree it was a > potentially valuable addition. Where she got that I was adding it to Eu- > phoria is beyond me. [20:21] <euphoric> i put a func in strtok that does this: x = repeat_str("xyz",3) -- x = "xyzxyzxyz" Kat