You probably figured this out, but what you want is something like:
(map rand-int (repeat SIZE MAX))

On Mar 23, 7:43 pm, Paul Drummond <paul.drumm...@iode.co.uk> wrote:
> Hi all,
>
> user=> (repeat 10 (rand-int 49))
> (4 4 4 4 4 4 4 4 4 4)
>
> Can someone please tell me why this doesn't work?
>
> It must be something obvious but I can't see the wood for the trees
> right now - it's late and my head hurts!
>
> Thanks,
> Paul.
> --
> Iode Software Ltd, registered in England No. 6299803.
>
> Registered Office Address: 12 Sancroft Drive, Houghton-le-Spring, Tyne
> & Wear, DH5 8NE.
>
> This message is intended only for the use of the person(s) ("the
> intended recipient(s)") to whom it is addressed. It may contain
> information which is privileged and confidential within the meaning of
> applicable law. If you are not the intended recipient, please contact
> the sender as soon as possible. The views expressed in this
> communication may not necessarily be the views held by The Company.
--~--~---------~--~----~------------~-------~--~----~
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
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