             [ring.util.response :refer [response]]
             [taoensso.timbre :refer [info warn spy]]))
 
-(defonce repl-sessions (ref {}))
+(defonce ^:private repl-sessions (ref {}))
  
-(defn current-bindings []
+(defn- current-bindings []
   (binding [*ns* *ns*
             *warn-on-reflection* *warn-on-reflection*
             *math-context* *math-context*

      r#)))
 
(defn do-eval [txt session-key]
  (with-session session-key
    (let [form (binding [*read-eval* false] (read-string txt))]
      (with-open [writer (java.io.StringWriter.)]

            *e nil]
    (get-thread-bindings)))
 
(defn- bindings-for [session-key]
  (when-not (@repl-sessions session-key)
    (binding [*ns* *ns*]
      (in-ns 'afterglow.examples)
