: i'm new to clojure, when I try to implementation 'interleave', get error 
from type convertion "java.lang。Long cannot be cast to clojure.lang.IFN".
; Now im reading stack trace, try to figure out what's going on......

(defn myIL [col1 col2]
  (loop [m  []
         s1 (first col1)
         s2 (first col2)]
    (if (s1)
      m
      (recur (conj (conj m s1) s2)
             (first (next col1))
             (first (next col2)))
    )))

(myIL [1 3] [2 4])

Any helps ?

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to