On Wed, Mar 4, 2009 at 2:07 PM, Mibu <[email protected]> wrote:
>
> Why does range in Clojure use an inclusive-exclusive range?
>
> I'm aware of the traditional substring range convention, which always
> puzzled me as to how an unintuitive and error-prone use became
> cemented as the norm.
>
> I'm not calling for a change in range. I'm just genuinely curious.

For what it's worth, Python's range function works the same way.

-- 
Michael Wood <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
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