Skip to content

Instantly share code, notes, and snippets.

@namoopsoo
Created July 12, 2017 15:08
Show Gist options
  • Save namoopsoo/df08c674b4e3e4794e97601682242c51 to your computer and use it in GitHub Desktop.
Save namoopsoo/df08c674b4e3e4794e97601682242c51 to your computer and use it in GitHub Desktop.
clojure hmms..

this is weird...

app.core=> (make-auth-options)
{"client_id" "xxxxxblah", "secret" "xxxxblah"}
app.core=> (type (make-auth-options) )

CompilerException java.lang.RuntimeException: Unable to resolve symbol:  in this context, compiling:(/private/var/folders/mj/7bwn1wld4pscycn91fpjn1h40000gn/T/form-init1933255439273248076.clj:1:1) 
app.core=> (def a (make-auth-options))
#'app.core/a
app.core=> (type a)
clojure.lang.PersistentArrayMap
app.core=> 
@alichaudry
Copy link

I can't seem to recreate this error:

user=> (defn lala [] {:ali 55})
#'user/lala

user=> (lala)
{:ali 55}

user=> (type lala)
#<Class@51147a6c user$lala

user=> (type (lala))
#<Class@19806e9 clojure.lang.PersistentArrayMap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment