clj-headlights.clj-fn-call

Helpers to have Dataflow call Clojure functions

append-argument-to-clj-call

(append-argument-to-clj-call clj-call arg)

Inputs: [clj-call :- CljCall arg :- CljCallArgument] Returns: CljCall

clj-call-invoke

(clj-call-invoke {:keys [full-name params ns-name creation-stack]} & args)

Calls the output wrapper

CljCall

A Clj Call is either a var or a vec of [Call Args]

CljCallArgument

Args must be serializable

serializable-function

(serializable-function clj-call)

Inputs: [clj-call :- CljCall] Returns: CljSerializableFunction

serializable-function-apply

(serializable-function-apply clj-call input)

serializable?

(serializable? obj)

to-serializable-clj-call

(to-serializable-clj-call clj-call)

Turns a clojure fn call into a map of the call and parameters