Wonderful, thank you!
On Nov 30, 9:42 pm, "Brian Doyle" <[EMAIL PROTECTED]> wrote:
> As long as you have the clojure.contrib jar in your path you can do:
>
> (use 'clojure.contrib.seq-utils)
>
> (flatten [1 2 3 '(4 5 6)])
> => (1 2 3 4 5 6)
>
> On Sun, Nov 30, 2008 at 9:36 PM, samppi <[EMAIL PROT
As long as you have the clojure.contrib jar in your path you can do:
(use 'clojure.contrib.seq-utils)
(flatten [1 2 3 '(4 5 6)])
=> (1 2 3 4 5 6)
On Sun, Nov 30, 2008 at 9:36 PM, samppi <[EMAIL PROTECTED]> wrote:
>
> For any given collection [3 2 [3 5 1] 1 [3 4 1] 0], how may I get [3 2
> 3 5 1
For any given collection [3 2 [3 5 1] 1 [3 4 1] 0], how may I get [3 2
3 5 1 1 3 4 1 0]?
Thanks in advance!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojur