Clojure: letfn bugfix. Clean up ns

This commit is contained in:
Louis Pilfold 2014-12-10 10:42:44 +00:00
parent ac2db9ee7a
commit e82994ff5a

View File

@ -54,7 +54,7 @@ snippet let
(let [${1:name} ${2:expr}] (let [${1:name} ${2:expr}]
${0}) ${0})
snippet letfn snippet letfn
(letfn [(${1:name) [${2:args}] (letfn [(${1:name}) [${2:args}]
${0})]) ${0})])
snippet map snippet map
(map ${1:func} ${0:coll}) (map ${1:func} ${0:coll})
@ -64,8 +64,7 @@ snippet met
(${1:name} [${2:this} ${3:args}] (${1:name} [${2:this} ${3:args}]
${0}) ${0})
snippet ns snippet ns
(ns ${1:name} (ns ${0:name})
${0})
snippet dotimes snippet dotimes
(dotimes [_ 10] (dotimes [_ 10]
(time (time