mirror of https://github.com/Wilfred/difftastic/
Add sample clojure files
parent
0eba3ecabe
commit
34a1946197
@ -0,0 +1,7 @@
|
||||
;; Example from Autochrome, under EPL-1.0 license.
|
||||
|
||||
(defn example
|
||||
[x]
|
||||
(-> {:more (inc x)
|
||||
:less (dec x)}
|
||||
(assoc :twice (+ x x)))
|
||||
@ -0,0 +1,7 @@
|
||||
;; Example from Autochrome, under EPL-1.0 license.
|
||||
|
||||
(defn example
|
||||
[x]
|
||||
(println "hello!")
|
||||
{:more (inc x)
|
||||
:less (dec x)})
|
||||
Loading…
Reference in New Issue