Liking cljdoc? Tell your friends :D

hiphip.impl.core

Internal helpers for hiphip, including generating primitive type-specific array code and parsing hiphip-style array bindings.

Internal helpers for hiphip, including generating primitive
type-specific array code and parsing hiphip-style array bindings.
raw docstring

array-castclj

(array-cast type expr)

Produce an array hint for a primitive array expr of a given type

Produce an array hint for a primitive array expr of a given type
sourceraw docstring

assert-iaecljmacro

(assert-iae form & format-args)

Like assert, but throws an IllegalArgumentException not an Error (and also takes args to format)

Like assert, but throws an IllegalArgumentException not an Error (and also takes args to format)
sourceraw docstring

dotimes-intcljmacro

(dotimes-int [sym & start-stop] & body)

Like dotimes, but faster and only works on int ranges. Also takes an optional start for the iteration.

Like dotimes, but faster and only works on int ranges.  Also takes an optional
start for the iteration.
sourceraw docstring

hint-bindingclj

(hint-binding type [left right])
source

hint-bindingsclj

(hint-bindings type bindings)
source

intcastclj

(intcast sym)

Generate code to cast a symbol to an integer.

Generate code to cast a symbol to an integer.
sourceraw docstring

parse-bindingclj

(parse-binding index-sym [left right])
source

parse-bindingsclj

(parse-bindings bindings)

Given a type, index symbol, and a vector of array bindings, generate a map with keys: :start-sym - a symbol bound to the iteration start point :stop-sym - a symbol bound to the iteration stop point :initial-bindings - bindings [array-sym array-expr ... start-sym ... stop-sym ...] -- with array-sysm in the order provided in the input. :value-bindings - bindings [array-val array-sym ... extra-index-sym index-sym]

Given a type, index symbol, and a vector of array bindings, generate a map with keys:
:start-sym - a symbol bound to the iteration start point
:stop-sym - a symbol bound to the iteration stop point
:initial-bindings - bindings [array-sym array-expr ...
                              start-sym ...
                              stop-sym ...]
 -- with array-sysm in the order provided in the input.
:value-bindings - bindings [array-val array-sym ...
                            extra-index-sym index-sym]
sourceraw docstring

primitive-type-infoclj

(primitive-type-info type)

Produce an map of helpers for an array type

Produce an map of helpers for an array type
sourceraw docstring

slurp-from-classpathclj

(slurp-from-classpath file)
source

typed-gensymclj

(typed-gensym basis tag)

Generate a type-hinted symbol.

Generate a type-hinted symbol.
sourceraw docstring

value-castclj

(value-cast type expr)

Produce an unchecked cast for the value of a given type

Produce an unchecked cast for the value of a given type
sourceraw docstring

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

× close