CrossClj

0.5.0 docs

SourceDocs



RECENT
    VARS
    ->ParameterizedPattern
    map->ParameterizedPattern
    parameterize

    « Index of all namespaces of this project

    Extra wrappers and customizers for Routes and Pattern structures.
    
    (->ParameterizedPattern pattern key value)
    Positional factory function for class routes.extra.ParameterizedPattern.
    
    (map->ParameterizedPattern m__7585__auto__)
    Factory function for class routes.extra.ParameterizedPattern, taking a map of keywords to field values.
    
    (parameterize pattern key value)
    Wrap pattern in a ParameterizedPattern record,
    which implements the Pattern protocol (match-pattern and generate-pattern-path),
    so that the pattern only matches if the route context (m)
    contains the given {key value} pair