Core functionality used across blobstore and compute.
Core functionality used across blobstore and compute.
(camelize a)
Takes a string, or anything named, and converts it to camel case (capitalised initial component
Takes a string, or anything named, and converts it to camel case (capitalised initial component
(camelize-mixed a)
Takes a string, or anything named, and converts it to mixed camel case (lower case initial component)
Takes a string, or anything named, and converts it to mixed camel case (lower case initial component)
(dashed a)
(define-accessor class property obj-name)
(define-accessors class & properties)
Defines read accessors, modelled on class-name-property-name. If the second argument is a string, it is used instead of the class-name prefix.
Defines read accessors, modelled on class-name-property-name. If the second argument is a string, it is used instead of the class-name prefix.
(kw-fn-symbol kw)
Converts a keyword into a camel cased symbol corresponding to a function name
Converts a keyword into a camel cased symbol corresponding to a function name
(kw-memfn kw & args)
Expands into code that creates a function that expects to be passed an object and any args, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments.
Expands into code that creates a function that expects to be passed an object and any args, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments.
(kw-memfn-0arg kw)
Expands into code that creates a function that expects to be passed an object, and calls the instance method corresponding to the camel cased version of the passed keyword if the argument is non-nil.
Expands into code that creates a function that expects to be passed an object, and calls the instance method corresponding to the camel cased version of the passed keyword if the argument is non-nil.
(kw-memfn-1arg kw)
Expands into code that creates a function that expects to be passed an object and an arg, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the argument.
Expands into code that creates a function that expects to be passed an object and an arg, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the argument.
(kw-memfn-2arg kw)
Expands into code that creates a function that expects to be passed an object and an arg vector containing 2 args, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments.
Expands into code that creates a function that expects to be passed an object and an arg vector containing 2 args, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments.
(kw-memfn-apply kw & args)
Expands into code that creates a function that expects to be passed an object and an arg vector containing the args, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments.
Expands into code that creates a function that expects to be passed an object and an arg vector containing the args, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments.
(kw-memfn-varargs kw)
(kw-memfn-varargs kw array-fn)
Expands into code that creates a function that expects to be passed an object and an arg vector, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments. The function accepts different arities at runtime.
Expands into code that creates a function that expects to be passed an object and an arg vector, and calls the instance method corresponding to the camel cased version of the passed keyword, passing the arguments. The function accepts different arities at runtime.
(make-option-map f keywords)
Builds a literal map from keyword, to a call on macro f with the keyword as an argument.
Builds a literal map from keyword, to a call on macro f with the keyword as an argument.
(map-str f coll)
Apply f to each element of coll, concatenate all results into a String.
Apply f to each element of coll, concatenate all results into a String.
(memfn-apply fn-name & args)
Expands into a function that takes one argument,
Expands into a function that takes one argument,
(memfn-varargs name array-fn)
Construct a function that applies an argument sequence to the given member function, which accepts varargs. array-fn should accept a sequence and return a suitable array for passing as varargs.
Construct a function that applies an argument sequence to the given member function, which accepts varargs. array-fn should accept a sequence and return a suitable array for passing as varargs.
(modules & modules)
Build a list of modules suitable for passing to compute or blobstore context
Build a list of modules suitable for passing to compute or blobstore context
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close