CrossClj

0.1.0 docs

SourceDocs



RECENT
    VARS
    ->StrictMap
    branch?
    children
    error-msg
    invalid-values
    node-paths
    restriction
    strict

    « Index of all namespaces of this project

    (->StrictMap inner pred)
    Positional factory function for class strict_config.map.StrictMap.
    
    Private
    (branch? coll)
    Return true if the node coll contains a map as its key
    
    Private
    (children coll)
    Returns a sequence of node paths for children
    
    Private
    (invalid-values coll pred)
    Returns a lazy sequence of the items in a coll of node paths for which (pred
    item) returns true
    Private
    (node-paths m)
    Returns a sequence of node paths for a given map
    
    (restriction m pred)
    Throws an Exception if the map contains values for which (pred item) returns true
    
    (strict m pred)(strict m)
    Convert an ordinary map into one that throws an Exception when
    - an unknown key is requested
    - a value returns true for (pred value)
    - map contains values for which (pred item) returns true.
    If not passed, pred is nil?