Created
September 19, 2013 07:11
-
-
Save yayitswei/6619993 to your computer and use it in GitHub Desktop.
This file contains 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
user=> (doc defn) | |
------------------------- | |
clojure.core/defn | |
([name doc-string? attr-map? [params*] prepost-map? body] [name doc-string? attr-map? ([params*] prepost-map? body) + attr-map?]) | |
Macro | |
Same as (def name (fn [params* ] exprs*)) or (def | |
name (fn ([params* ] exprs*)+)) with any doc-string or attrs added | |
to the var metadata. prepost-map defines a map with optional keys | |
:pre and :post that contain collections of pre or post conditions. | |
nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment