Thanks, but this does not keep the concrete type.

On Wednesday, June 27, 2012 3:42:25 PM UTC-4, Ulises wrote:
>
> > I'd forgotten that 'into adds things in the "default" place for whatever 
> type you're using, hence the reversal on lists. I'm not sure if there's a 
> simple way to get the same type out again while preserving order. 
>
> How about: 
>
> (defn sub-seq [start end coll] 
>   (take (- end start) (drop start coll))) 
>
> U 
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to