CrossClj

0.5.4 docs

SourceDocs



RECENT
    VARS
    +provides+
    ->Context
    create-context
    GetProperty
    map->Context
    providing

    « Index of all namespaces of this project

    (->Context)
    Positional factory function for class palikka.core.Context.
    
    (create-context system)
    Create Context record (map) from system, containing values
    specified by providing calls.
    
    Context record has print-method which hides the real contents.
    protocol
    (-get this component)
    (map->Context m__7585__auto__)
    Factory function for class palikka.core.Context, taking a map of keywords to field values.
    
    (providing component spec)
    Associates metadata with component describing what values
    the component provides for others to use. Provides are specified
    as a map keys. Keys in the map correspond to key in context map.
    Values in the map are they keys in the component where provieded
    value is. The value can be a IFn so if you need to retrieve
    nested value you can use e.g. `(comp :foo :bar)`.
    Alternatively, if the keys are the same in both the component and
    context, they map be specified as vector of keys.