07 Feb 2015

Clojure Unbound Function in Vim-Fireplace

While working through Programming Clojure, I was attempting to build a move function. After I attempted to load the code in my repl with Vim Fireplaces' cpr I kept getting an error when trying to call my move function (move (create-snake)).

Attemptingtocallunboundfn:#'reader.snake/move

It turns out that the code wasn’t comiling. The clue was that the error means you are trying to call a function that was declared but not defined.