Browse files

Change to full names

  • Loading branch information...
1 parent 06ad74d commit 05caf2140db52dc72aeead181a9f8897bc81b42d @ljos committed Feb 3, 2013
Showing with 50 additions and 0 deletions.
  1. +6 −0 comment
  2. +6 −0 defmethod
  3. +4 −0 defmulti
  4. +5 −0 defprotocol
  5. +6 −0 defrecord
  6. +6 −0 deftype
  7. +5 −0 method
  8. +4 −0 re-find
  9. +4 −0 re-matches
  10. +4 −0 re-seq
View
6 comment
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name: comment
+# --
+(comment
+ $0
+ )
View
6 defmethod
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name: defmethod
+# --
+(defmethod ${1:name} ${2:match}
+ [${3:args}]
+ $0)
View
4 defmulti
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name: defmulti
+# --
+(defmulti ${1:name} ${2:dispatch-fn})
View
5 defprotocol
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: defprotocol
+# --
+(defprotocol ${1:Name}
+ $0)
View
6 defrecord
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name: defrecord
+# --
+(defrecord ${1:Name} [${2:fields}]
+ ${3:Protocol}
+ $0)
View
6 deftype
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name: deftype
+# --
+(deftype ${1:Name} [${2:fields}]
+ ${3:Protocol}
+ $0)
View
5 method
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: method
+# --
+(${1:name} [${2:this} ${3:args}]
+ $0)
View
4 re-find
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+# name: re-find
+# --
+(re-find #"${1:regex}" ${2:string})
View
4 re-matches
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+# name: re-matches
+# --
+(re-matches #"${1:regex}" ${2:string})
View
4 re-seq
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+# name: re-seq
+# --
+(re-seq #"${1:regex}" ${2:string})

0 comments on commit 05caf21

Please sign in to comment.