file-name-to-swank-package-sym

swank.loader

  • (file-name-to-swank-package-sym file-name)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/loader.clj:42 top

(defn file-name-to-swank-package-sym [#^String file-name]
  (assert (clj-file? file-name))
  (symbol
   (str "swank."
        (clj/unmunge
         (.replaceAll (.substring file-name 0 (- (.length file-name) 4))
                      File/separator
                      ".")))))
Vars in swank.loader/file-name-to-swank-package-sym: - assert defn str symbol
Used in 0 other vars

Comments top

No comments for file-name-to-swank-package-sym. Log in to add a comment.