Ad
  • Custom User Avatar

    You probably don't want to use (def) within a defn like that. I believe it'll conditionally polute the namespace. If you never call it, all_points and average won't be defined on the namespace (which is good), but if you do call it, they will be defined on the namespace. Consider using let instead.