You might want to consider adding it to
https://github.com/bbatsov/clojure-style-guide :-)
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are modera
You shouldn't use the second unless you have a multi-arity function
definition.
On Wed, Apr 24, 2013 at 9:39 AM, Plínio Balduino wrote:
> Hi there
>
> Which one is preferred when adding doc-string in a function?
>
> This:
>
> (defn bubbles
> "Here I put some description"
> []
> (code))
>
>
Hi there
Which one is preferred when adding doc-string in a function?
This:
(defn bubbles
"Here I put some description"
[]
(code))
Or this:
(defn bubbles
"Here I put some description"
([]
(code)))
Thank you in advance
Plínio
--
--
You received this message because you are su