core.logic

Allow partial matching of keys not existing in a map

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test

Description

When matching maps, it is sometimes useful to specify a map that doesn't include specific keys.

Eg. to specify a map that doesn't include a :foo key:

(def _! :clojure.core.logic/not-found)
(run* [x]
  (featurec x {:foo _!}))

The patch is minimal, and demonstrates the functionality.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: