Permalink
Browse files

* bp: new snippets

  • Loading branch information...
1 parent ff62431 commit bc9622a5b469fcc62dac8e3d0a8715fe585a5573 @swannodette committed Dec 24, 2011
Showing with 22 additions and 3 deletions.
  1. +0 −3 bp
  2. +3 −0 import
  3. +4 −0 ns
  4. +6 −0 perf
  5. +3 −0 refer
  6. +3 −0 require
  7. +3 −0 use
View
3 bp
@@ -1,3 +0,0 @@
-#name: breakpoint
-# --
-(swank.core/break)
View
3 import
@@ -0,0 +1,3 @@
+#name: import
+# --
+(:import [${0:package}])
View
4 ns
@@ -0,0 +1,4 @@
+#name: ns
+# --
+(ns ${1:name}
+ $0)
View
6 perf
@@ -0,0 +1,6 @@
+#name: perf
+# --
+(dotimes [_ 10]
+ (time
+ (dotimes [_ ${1:times}]
+ $0)))
View
3 refer
@@ -0,0 +1,3 @@
+#name: refer
+# --
+(:refer-clojure :exclude [$0])
View
@@ -0,0 +1,3 @@
+#name: require
+# --
+(:require [${1:namespace} :as [$0]])
View
3 use
@@ -0,0 +1,3 @@
+#name: use
+# --
+(:use [${1:namespace} :only [$0]])

0 comments on commit bc9622a

Please sign in to comment.