Skip to content

Instantly share code, notes, and snippets.

@6ewis
Created February 2, 2015 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 6ewis/3f7e8297bb2a17933d0a to your computer and use it in GitHub Desktop.
Save 6ewis/3f7e8297bb2a17933d0a to your computer and use it in GitHub Desktop.
user=> (def shift
#_=> (fn [this xinc yinc]
#_=> (Point (+ (x this) xinc)
#_=> (+ (y this) yinc))))
CompilerException java.lang.RuntimeException: Unable to resolve symbol: y in this context, compiling:(/private/var/folders/tx/93x4vxl10g71wdn409yzsxg80000gp/T/form-init1269941384776117298.clj:4:18)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment