ajmccluskey Oct 4th, 2014 (edited) 184 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ; CompilerException java.lang.IllegalArgumentException: recur arg for primitive local: last_byte is not
- ; matching primitive, had: Object, needed: byte, compiling:...
- (defn test-lr 
- (loop [last-byte (byte 0)
- bytez (map byte '(1 2 3 4))
- answer '()]
- (if (empty? bytez)
- (recur (first bytez)
- (rest bytez)
- (cons (bit-or (first bytez last-byte) answer))))))
RAW Paste Data