Last active
December 10, 2015 10:58
-
-
Save MichaelDrogalis/4424278 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Form 1 | |
(defprecondition some-func | |
(fn [& args] | |
(assert-conditions args)) | |
(fn [e & args] | |
(error-handling args))) | |
;;; Form 2 | |
(defprecondition some-func | |
name-of-precondition | |
(fn [& args] | |
(assert-conditions args))) | |
(defhandler some-func | |
name-of-precondition | |
(fn [& args] | |
(assert-conditions args))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment