<?xml version="1.0" encoding="ISO-8859-15"?>
<rss version="2.0"><channel>
<title>clojure repl with autoreload and important other niceties</title>
<link>http://sange.fi/~atehwa/cgi-bin/piki.cgi/</link>
<description>Recent changes in clojure repl with autoreload and important other niceties</description>
<item><title>clojure repl with autoreload and important other niceties</title>
<link>http://sange.fi/~atehwa/cgi-bin/piki.cgi/clojure%20repl%20with%20autoreload%20and%20important%20other%20niceties</link>
<guid>http://sange.fi/~atehwa/cgi-bin/piki.cgi/#1517491103</guid>
<description>&lt;p&gt;&lt;ins&gt;(nettipäiväkirja 01.02.2018) As it seems I'm now sharing all 
kinds of things related to clojure, I think I'll also share my 
~/.lein/profiles.clj:&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;{{{ {:user {:dependencies [[org.clojars.gjahad/debug-repl 
"0.3.3"] [im.chit/lucid.core.inject "1.2.8"] [im.chit/lucid.mind 
"1.2.8"] [com.cemerick/pomegranate "0.3.1"] 
[org.clojure/tools.namespace "0.2.11"]] :injections [(require 
'[lucid.core.inject :as inject]) (inject/inject '[&gt; 
[clojure.tools.namespace.repl refresh] [clojure.repl doc source dir] 
[cemerick.pomegranate add-dependencies] [lucid.mind .&gt; .? .* .% .%&gt; .&amp; 
.&gt;ns .&gt;var] [clojure.pprint pprint pp]])] :plugins [[lein-autoreload 
"0.1.1"]]}} }}}&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;* clojure.tools.namespace.repl/refresh: this very important 
service is the best way that I know of, to ensure that the code running 
in your clojure instance is the same code as what is currently in your 
source files. It also deals with deleted definitions, renamed 
namespaces, and similar stuff.&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;* clojure.repl: you just want these introspective definitions 
to be available after you change your namespace with (in-ns).&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;* cemerick.pomegranate/add-dependencies: if you need a new 
library but ''don't'' want to restart your process.&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;* lucid.mind: all kinds of reflective queries on clojure 
objects. Use when you want to know e.g. the methods that a Java class 
provides.&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;* clojure.pprint/pprint: when you want to take a look at the 
results of a function call.&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;----&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;* [merkintä: 2018-02] * [atehwa] * [kategoria: 
päiväkirjamerkintä] * [kategoria: työkalut] * [kategoria: ohjelmointi] 
* [better way to thread in clojure]&lt;/ins&gt;

</description>
<pubDate>Thu, 01 Feb 2018 13:18:23 +0000</pubDate>
</item>

</channel></rss>
