Skip to content

Use defrule and defquery vars in ClojureScript #140

Open
@rbrush

Description

@rbrush

The current ClojureScript defrule and defquery macros store the rule definition in static state. This is because it wasn't possible to enumerate and inspect vars from ClojureScript when the code was written.

This appears to have changed, as described at the post linked below. So we should consider using real vars in ClojureScript, bringing it closer to its Clojure counterpart.

http://swannodette.github.io/2014/12/17/whats-in-a-var/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions