Re: repeat and replicate

2009-01-28 Thread Timothy Pratley
> Patch welcome for this. http://code.google.com/p/clojure/issues/detail?id=55&colspec=ID%20Type%20Status%20Priority%20Reporter%20Owner%20Summary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To p

Re: repeat and replicate

2009-01-28 Thread Rich Hickey
On Jan 28, 5:38 pm, Chouser wrote: > On Wed, Jan 28, 2009 at 4:56 PM, Shawn Hoover wrote: > > > On Wed, Jan 28, 2009 at 4:36 PM, Stephen C. Gilardi > > wrote: > > >> I like "repeat" with multiple arities and remove "replicate". > >> --Steve > > > Me too. I'm just waiting for some hammer to dr

Re: repeat and replicate

2009-01-28 Thread Jason Wolfe
> +1 from me, for what it's worth. Ditto. Every time I want replicate, I type "repeat", remember that it only takes 1 arg, and then have to search for "replicate" because the name just won't stick in my head. -Jason --~--~-~--~~~---~--~~ You received this message

Re: repeat and replicate

2009-01-28 Thread Chouser
On Wed, Jan 28, 2009 at 4:56 PM, Shawn Hoover wrote: > > On Wed, Jan 28, 2009 at 4:36 PM, Stephen C. Gilardi > wrote: >> >> >> I like "repeat" with multiple arities and remove "replicate". >> --Steve > > Me too. I'm just waiting for some hammer to drop about args ordering or > partial applicatio

Re: repeat and replicate

2009-01-28 Thread Shawn Hoover
On Wed, Jan 28, 2009 at 4:36 PM, Stephen C. Gilardi wrote: > > On Jan 28, 2009, at 10:17 AM, Christian Vest Hansen wrote: > > Or replicate could go away. > > More likely, I think one of them could take multiple arities and make > the other obsolete. > > > I like "repeat" with multiple arities and

Re: repeat and replicate

2009-01-28 Thread Stephen C. Gilardi
On Jan 28, 2009, at 10:17 AM, Christian Vest Hansen wrote: Or replicate could go away. More likely, I think one of them could take multiple arities and make the other obsolete. I like "repeat" with multiple arities and remove "replicate". --Steve smime.p7s Description: S/MIME cryptograph

Re: repeat and replicate

2009-01-28 Thread Christian Vest Hansen
On Wed, Jan 28, 2009 at 3:23 PM, Mark Volkmann wrote: > > On Wed, Jan 28, 2009 at 6:36 AM, Albert Cardona wrot> >> Shawn Hoover wrote: >>> Why do we have both repeat and replicate? I can sort of keep them straight, >>> but as they only differ by arity I wonder

Re: repeat and replicate

2009-01-28 Thread Mark Volkmann
On Wed, Jan 28, 2009 at 6:36 AM, Albert Cardona wrot> > Shawn Hoover wrote: >> Why do we have both repeat and replicate? I can sort of keep them straight, >> but as they only differ by arity I wonder if they can be combined... or if >> I'm missing a subtle reason

Re: repeat and replicate

2009-01-28 Thread Vincent Foley
repeat returns an infinite seq; replicate returns a finite one. On Jan 27, 8:53 pm, Shawn Hoover wrote: > Why do we have both repeat and replicate? I can sort of keep them straight, > but as they only differ by arity I wonder if they can be combined... or if > I'm missing a sub

Re: repeat and replicate

2009-01-28 Thread Albert Cardona
Shawn Hoover wrote: > Why do we have both repeat and replicate? I can sort of keep them straight, > but as they only differ by arity I wonder if they can be combined... or if > I'm missing a subtle reason for separate names. A user in IRC threw out the > possibility of in

repeat and replicate

2009-01-27 Thread Shawn Hoover
Why do we have both repeat and replicate? I can sort of keep them straight, but as they only differ by arity I wonder if they can be combined... or if I'm missing a subtle reason for separate names. A user in IRC threw out the possibility of infinite vs. finite functions, but interleave an