 
 (defn- add-suffix
   [file suffix]
-  (let [candidate (s/replace file #".clj[sc]?$" suffix)]
+  (let [candidate (string/replace file #".clj[sc]?$" suffix)]
     (if (gstring/endsWith candidate suffix)
       candidate
       (str file suffix))))


(defn- drop-macros-suffix
  [ns-name]
  (if (s/ends-with? ns-name "$macros")
    (apply str (drop-last 7 ns-name))
    ns-name))


(ns planck.repl
  (:require-macros [cljs.env.macros :refer [with-compiler-env]]
                   [planck.repl :refer [with-err-str]])
  (:require [clojure.string :as string]
            [goog.string :as gstring]
            [cljs.analyzer :as ana]
            [cljs.compiler :as comp]
