I try to write my first program, but efter put the "(take 7 (repeatedly get-number))" in a function i get an error, i have search on it but can't figure why, could some on tell my what is wrong, and a explanation (att a basic level *smile*)
The error Don't know how to create ISeq from: Symbol ;The code (ns com.persson.lotto (:gen-class)) (defn get-number [] (rand-int 35)) (defn make-lotto [] (take 7 (repeatedly get-number))) (defn -main (make-lotto)) ([] (-main ))) -- 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