Closed genmeblog closed 3 years ago
Also when function returns one value unwrap it from a vector. For example:
(base/choose 12 4)
;; => [1] 495
(r->clj (base/choose 12 4))
;; => [495.0]
;; To access the value and reuse you have to take out first element
(first (r->clj (base/choose 12 4)))
;; => 495.0
Closing.
I think that simple TRUE, FALSE or NA values should be converted to
true
,false
andnil
without wrapping into a vector.