CrossClj

2.0.0-alpha20 docs

SourceDocs



RECENT
    VARS
    extract-parameters
    fast-map-merge
    fifo-memoize
    group-with
    merge-vector
    plain-map?
    when-ns

    « Index of all namespaces of this project

    (extract-parameters c expect-body)
    Extract parameters from head of the list. Parameters can be:
    
    1. a map (if followed by any form) `[{:a 1 :b 2} :body]` => `{:a 1 :b 2}`
    2. list of keywords & values `[:a 1 :b 2 :body]` => `{:a 1 :b 2}`
    3. else => {}
    
    Returns a tuple with parameters and body without the parameters
    (fast-map-merge x y)
    (fifo-memoize f size)
    (group-with pred coll)
    Groups a sequence with predicate returning a tuple of sequences.
    
    (merge-vector v)
    Merges vector elements, optimized for 1 arity (x10 faster than merge).
    
    (plain-map? x)
    checks whether input is a map, but not a record
    
    macro
    (when-ns ns & body)