MCPcopy Index your code
hub / github.com/clojure/clojure / alter

Method alter

src/jvm/clojure/lang/Var.java:214–217  ·  view source on GitHub ↗
(IFn fn, ISeq args)

Source from the content-addressed store, hash-verified

212}
213
214public Object alter(IFn fn, ISeq args) {
215 set(fn.applyTo(RT.cons(deref(), args)));
216 return this;
217}
218
219public Object set(Object val){
220 validate(getValidator(), val);

Callers

nothing calls this directly

Calls 4

setMethod · 0.95
consMethod · 0.95
derefMethod · 0.95
applyToMethod · 0.65

Tested by

no test coverage detected