CrossClj

0.1.6 docs

SourceDocs



RECENT
    VARS
    ?fulltext
    ?gensym
    ?not
    ?q
    ?q-fn
    auto-pair-seq
    db-id?
    entity?
    enum?
    expand-ns-keys
    expand-ns-set
    flatten-to-vecs
    iid
    incremental-id-gen
    incremental-sym-gen
    merge-common-ns-keys
    merge-common-nss
    ref?
    walk-replace

    « Index of all namespaces of this project

    (?fulltext val)
    (?gensym)(?gensym prefix)
    Returns a new datomic symbol with a unique name. If a prefix string
    is supplied, the name is prefix# where # is some unique number. If
    prefix is not supplied, the prefix is e_.
    
     (?gensym) ;=> ?e_1238
    
     (?gensym) ;=> ?e_1241
    
     (?gensym "v") ;=> ?v1250
    
    macro
    (?q f & args)
    (?q-fn f args)
    (auto-pair-seq arr)(auto-pair-seq output [x y & xs :as arr])
    (db-id? x)
    Returns true if x implements `datomic.db.DbId
    
    (entity? x)
    Returns true if x is of type datomic.query.EntityMap.
    
    (enum? x)
    Returns true if x is an enum keyword
    
    (expand-ns-keys k)(expand-ns-keys k output)
    (expand-ns-set s)(expand-ns-set s output)
    (flatten-to-vecs coll)(flatten-to-vecs [v & vs] output)
    Takes a sequence of vectors. If any vector contains additional
    vectors, then that vector is flattened.
    
     (flatten-to-vecs [[1 2 3] [[1 2 3] [4 5 6]]])
     ;=> [[1 2 3] [1 2 3] [4 5 6]]
    
    (iid)(iid obj)
    Constructs a new id
    
    (incremental-id-gen)(incremental-id-gen n)
    (incremental-sym-gen s)(incremental-sym-gen s n)
    (merge-common-ns-keys m k kset)(merge-common-ns-keys m k kset output)
    (merge-common-nss m)(merge-common-nss m output)
    (ref? x)
    Returns true if x implements clojure.lang.APersistentMap
    or is of type datomic.query.EntityMap or is a long or db-id.
    (walk-replace st rep)