Liking cljdoc? Tell your friends :D
Clojure only.

hara.data.record


emptyclj

(empty v)

creates an empty record from an existing one

(defrecord Database [host port])

(record/empty (Database. "localhost" 8080)) => (just {:host nil :port nil})

creates an empty record from an existing one

(defrecord Database [host port])

(record/empty (Database. "localhost" 8080))
=> (just {:host nil :port nil})
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close