Indicate return value when appropriate

This commit is contained in:
oakes
2014-03-31 01:14:44 -04:00
parent 499ecf3fc7
commit 1628bca0cd
2 changed files with 8 additions and 3 deletions

View File

@@ -10,13 +10,15 @@
param-name]))
(defn item
[{:keys [name text args]}]
[{:keys [name text type args]}]
[:div
[:p
[:b (str name)]
" "
(string/join ", " (map param args))]
(when text [:i text])])
(cond
text [:i text]
type [:i (str "Returns a " type)])])
(defn create-from-file
[parsed-file]