Liking cljdoc? Tell your friends :D

com.yetanalytics.datasim.protocols

Protocols for use across the application, we enumerate them here in one NS so we don't get into circ. dependency errors.

Protocols for use across the application, we enumerate them here in one NS so
we don't get into circ. dependency errors.
raw docstring

FromInputcljprotocol

Things that come from the user and must be validated.

Things that come from the user and must be validated.

validateclj

(validate this)

Validate the input, which must be read in first. Returns nil if the input is valid, or a vector of error maps each containing: :id - Generated unique ID for error :path - Path of error in input :text - Error message/text

Validate the input, which must be read in first. Returns nil if the input
is valid, or a vector of error maps each containing:
  :id - Generated unique ID for error
  :path - Path of error in input
  :text - Error message/text
sourceraw docstring

JSONRepresentablecljprotocol

Things that can be represented as JSON

Things that can be represented as JSON

read-body-fnclj

(read-body-fn this json-result)

Return a new record with the given JSON incorporated

Return a new record with the given JSON incorporated

read-key-fnclj

(read-key-fn this k)

Wrapped in a partial, will coerce k to internal representation.

Wrapped in a partial, will coerce k to internal representation.

write-body-fnclj

(write-body-fn this)

Return the part of the record used to generate json.

Return the part of the record used to generate json.

write-key-fnclj

(write-key-fn this k)

Wrapped in a partial, will coerce k to json representation

Wrapped in a partial, will coerce k to json representation
sourceraw docstring

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

× close