CrossClj

0.6.9 docs

SourceDocs



RECENT
    VARS
    -source-info
    arglist-for-arity
    boolean?
    butlast+last
    classify
    compile-if
    const-val
    constant?
    ctx
    dissoc-env
    dynamic?
    into!
    macro?
    mapv'
    merge'
    mmerge
    obj?
    private?
    protocol-node?
    record?
    reference?
    regex?
    resolve-ns
    resolve-sym
    rseqv
    select-keys'
    source-info
    type?
    update-keys
    update-kv
    update-vals

    « Index of all namespaces of this project

    (-source-info x env)
    Returns the source-info of x
    
    (arglist-for-arity fn argc)
    Takes a fn node and an argc and returns the matching arglist
    
    (boolean? x)
    Returns true if x is a boolean
    
    (butlast+last s)
    Returns same value as (juxt butlast last), but slightly more
    efficient since it only traverses the input sequence s once, not
    twice.
    (classify form)
    Returns a keyword describing the form type
    
    macro
    (compile-if exp then & else)
    (const-val {:keys [form val]})
    Returns the value of a constant node (either :quote or :const)
    
    (constant? var)(constant? var m)
    Returns true if the var is a const
    
    (ctx env ctx)
    Returns a copy of the passed environment with :context set to ctx
    
    (dissoc-env ast)
    Dissocs :env from the ast
    
    (dynamic? var)(dynamic? var m)
    Returns true if the var is dynamic
    
    (into! to from)
    Like into, but for transients
    
    (macro? var)(macro? var m)
    Returns true if the var maps to a macro
    
    (mapv' f v)
    Like mapv, but short-circuits on reduced
    
    (merge' m & mms)
    Like merge, but uses transients
    
    Same as (fn [m1 m2] (merge-with merge m2 m1))
    
    (obj? x)
    Returns true if x implements IObj
    
    (private? var)(private? var m)
    Returns true if the var is private
    
    (protocol-node? var)(protocol-node? var m)
    Returns true if the var maps to a protocol function
    
    (record? x)
    Returns true if x is a record
    
    (reference? x)
    Returns true if x implements IReference
    
    (regex? x)
    Returns true if x is a regex
    
    (resolve-ns ns-sym {:keys [ns]})
    Resolves the ns mapped by the given sym in the global env
    
    (resolve-sym sym {:keys [ns], :as env})
    Resolves the value mapped by the given sym in the global env
    
    (rseqv v)
    Same as (comp vec rseq)
    
    (select-keys' map keyseq)
    Like clojure.core/select-keys, but uses transients and doesn't preserve meta
    
    (source-info m)
    Returns the available source-info keys from a map
    
    (type? x)
    Returns true if x is a type
    
    (update-keys m f)
    Applies f to all the keys in the map
    
    (update-kv m f)
    Applies f to all the keys and vals in the map
    
    (update-vals m f)
    Applies f to all the vals in the map