Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mpenet/clojure-snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed May 5, 2017
2 parents 4e2a680 + bc9144a commit c548030
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions snippets/clojure-mode/cond
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# name: cond
# key: cond
# --
(cond
($1) $2
($3) $4
:else $5)
5 changes: 5 additions & 0 deletions snippets/clojure-mode/condp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#name: condp
#key: condp
# --
(condp ${1:pred} ${2:expr}
$0)
4 changes: 4 additions & 0 deletions snippets/clojure-mode/testing
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# name: testing
# key: testing
# --
(testing "$1")$>
4 changes: 4 additions & 0 deletions snippets/clojure-mode/thread-first
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# name: ->
# key: ->
# --
(-> $1)
4 changes: 4 additions & 0 deletions snippets/clojure-mode/thread-last
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# name: ->>
# key: ->>
# --
(->> $1)

0 comments on commit c548030

Please sign in to comment.