Skip to content

Commit

Permalink
add defn.assert
Browse files Browse the repository at this point in the history
(I use it all the time with clj.spec)
  • Loading branch information
mpenet committed May 5, 2017
1 parent e48a472 commit 4e2a680
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions snippets/clojure-mode/defn.assert
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# name: defn assert
# key: defn
# --
(defn $1
"$2"$>
[$3]$>
{:pre []$>
:post []}$>
$0)$>

0 comments on commit 4e2a680

Please sign in to comment.