Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.56 KB

faq.adoc

File metadata and controls

42 lines (32 loc) · 1.56 KB

FAQ

FAQ

Who is using SICMUtils?

  • @kloimhardt has integrated SICMUtils into his Scratch-like, blocks-based language at clj-tiles. See this demo for a lovely example of Lagrangian Mechanics in clj-tiles.

  • @light-matters and @MagusMachinae are collaborating on [Peek](https://gitlab.com/LightMatters/peek): "A Clojure implementation of symbolic quantum mechanics, or, as it could be called, measurement mechanics. The current name reflects my idea of one of the, if not most, distinguishing features of quantum mechanics: that observation changes the result."

How should I configure Emacs?

The SICMUtils repository includes a dir-locals.el file with a few variable settings that improve the Emacs experience with SICMUtils.

The main interesting dir-local variable to set is cider-print-fn:

((nil
  . ((cider-print-fn . "sicmutils.expression/expression->stream"))))

Setting CIDER’s print function to expression→stream will cause the REPL to automatically simplify forms before rendering them.

expression→stream currently uses clojure.pprint to print simplified values. Once #519 is completed, the pprint call will be replaced by a call you can bind to prn, zprint or any other preferred printer.