repeat returns an infinite seq; replicate returns a finite one.

On Jan 27, 8:53 pm, Shawn Hoover <[email protected]> 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 infinite vs. finite functions, but interleave and map seem to
> blur that line.
>
> Shawn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to