Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created February 19, 2015 21:43
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 AeroNotix/83a91d08b05ea694abbb to your computer and use it in GitHub Desktop.
Save AeroNotix/83a91d08b05ea694abbb to your computer and use it in GitHub Desktop.
user=> (ns foo)
nil
foo=> (defn- foo [] :in-foo)
#'foo/foo
foo=> (ns foo2)
nil
foo2=> (foo/foo)
CompilerException java.lang.IllegalStateException: var: #'foo/foo is not public, compiling:(NO_SOURCE_PATH:4:1)
foo2=> (#'foo/foo)
:in-foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment