Re: Ken's abrasiveness

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu