You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 30, 2025. It is now read-only.
The interleave function has a unary implementation on my machine using Clojure 1.8.0, which makes the following a valid solution to problem 33: #(apply interleave (take %2 (repeat %1)))
But the above code fails on the third unit test on website: (= (__ [4 5 6] 1) '(4 5 6))
raising the following exception:
clojure.lang.ArityException: Wrong number of args (1) passed to: core$interleave
The
interleavefunction has a unary implementation on my machine using Clojure 1.8.0, which makes the following a valid solution to problem 33:#(apply interleave (take %2 (repeat %1)))But the above code fails on the third unit test on website:
(= (__ [4 5 6] 1) '(4 5 6))raising the following exception: