Re: Ken's abrasiveness
- Posted by CChris <christian.cuvier at agri?ulture.gouv?fr> May 29, 2008
- 732 views
Jeremy Cowgar wrote: > > Kat wrote: > > > > Jason Gade wrote: > > > > <snip> > > > > > I think there should be a compelling reason to add anything --feature or > > > new > > > built-in-- to the interpreter, and a broad consensus as well. Not just > > > "because > > > it's cool." > > > > 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> {{{ > > -- > Jeremy Cowgar > <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a> repeat_pattern() will be committed soon. Does the same. CChris