;;
;;  Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
;;
;;  Licensed under the Apache License, Version 2.0 (the "License");
;;  you may not use this file except in compliance with the License.
;;  You may obtain a copy of the License at
;;
;;         http://www.apache.org/licenses/LICENSE-2.0
;;
;;  Unless required by applicable law or agreed to in writing, software
;;  distributed under the License is distributed on an "AS IS" BASIS,
;;  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;;  See the License for the specific language governing permissions and
;;  limitations under the License.
;;
(ns %1$s_%2$s)(defn %3$s_%2$s [s] (binding [*ns* (find-ns '%1$s_%2$s)] (load-string s)))
(import '%4$s)
(require '[clojure.repl :as repl_%2$s])
(defn get-beakerx [key] (%4$s/get key))
(defn set-beakerx [key value] (%4$s/set key value))
(def beakerx-method-map {:get get-beakerx :set set-beakerx})
(defn beakerx
  ([method key] ((beakerx-method-map method) key))
  ([method key value] ((beakerx-method-map method) key value)))

