ClassCastException java.lang.Long cannot be cast to clojure.lang.IFn

The error’s meaning shouldn’t be too hard to sort out: a number is being used where a function is expected.

Parenthesis in Clojure are not a grouping construct, they are used primarily to invoke function calls. If you change (salary) to salary you will return the number rather than attempting to call it as a no-argument function.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)