1.2.0 permalink Arrow_down_16x16

eval-from-control

swank.core

  • (eval-from-control)
Blocks for a mbox message from the control thread and executes it
when received. The mbox message is expected to be a slime-fn.

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/core.clj:97 top

(defn eval-from-control
  "Blocks for a mbox message from the control thread and executes it
   when received. The mbox message is expected to be a slime-fn."
  ([] (let [form (mb/receive (current-thread))]
        (apply (ns-resolve *ns* (first form)) (rest form)))))
Vars in swank.core/eval-from-control: *ns* apply defn first let ns-resolve rest
Used in 0 other vars

Comments top

No comments for eval-from-control. Log in to add a comment.