Liking cljdoc? Tell your friends :D

kibit.replace


replace-exprclj

(replace-expr expr & kw-opts)

Apply any suggestions to expr.

expr - Code form to check and replace in kw-opts - any valid option for check/check-expr, as well as: - :file current filename - :interactive prompt for confirmation before replacement or not

Returns a string of the replaced form

Apply any suggestions to `expr`.

`expr`    - Code form to check and replace in
`kw-opts` - any valid option for `check/check-expr`, as well as:
            - `:file` current filename
            - `:interactive` prompt for confirmation before replacement or not

Returns a string of the replaced form
sourceraw docstring

replace-fileclj

(replace-file file & kw-opts)

Apply any suggestions to file.

file - File to check and replace in kw-opts - any valid option for check/check-expr, as well as: - :interactive prompt for confirmation before replacement or not

Modifies file, returns nil

Apply any suggestions to `file`.

`file`    - File to check and replace in
`kw-opts` - any valid option for `check/check-expr`, as well as:
            - `:interactive` prompt for confirmation before replacement or not

Modifies `file`, returns `nil`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close