Skip to content

Cannot construct a bound symbol #20

@RickMoynihan

Description

@RickMoynihan

e.g. the following should be allowed:

(let [foo :a] (matcha/construct foo [[foo ?bar ?baz]]))

It should return :a if it exists as a resource in the database, otherwise nil.

However it raises a syntax error:

Syntax error macroexpanding clojure.core/let at (*cider-repl repos/muttnik:localhost:50215(clj)*:1010:45).
nil - failed: simple-symbol? at: [:bindings :form :local-symbol] spec: :clojure.core.specs.alpha/local-name
nil - failed: vector? at: [:bindings :form :seq-destructure] spec: :clojure.core.specs.alpha/seq-binding-form
nil - failed: map? at: [:bindings :form :map-destructure] spec: :clojure.core.specs.alpha/map-bindings
nil - failed: map? at: [:bindings :form :map-destructure] spec: :clojure.core.specs.alpha/map-special-binding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions