title: Lisp : Don't know how to create ISeq from Java.lang.Integer
body: <p>I'm trying to open a text file and split it into a list of integer values in Clojure. I get this error code every single time, and I've got no idea why. I'm relatively new to Lisp development (I mean I started like two hours ago), so it might be that I'm asking a really silly question. Cheers</p>
  
  <pre><code>(ns clojure.examples.hello
    (:gen-class))
  
  (ns clojure-noob.core)
  
  (defn toInt [s]
    (Integer/parseInt (re-find #"\A-?\d+" s)))
  (defn toIntList [s]
    (if (not s) ()
      (list* (toInt (first (toInt s)) (toIntList first((rest 
    (clojure.string/split s #" "))))))
    )
  )
  
  (println (str (toIntList (slurp "hab.txt"))))
  </code></pre>