In a Luminus app here's a part of an action which produces an error:
some-var (if (rem total-records page-size)
(quot total-records page-size)
(+ 1 (quot total-records page-size)))
the error being clojure.lang.LazySeq cannot be cast to java.lang.Number. And this doesn't:
some-var 123
How to fix the error?