core.logic

conso and seq, when unifying tail later

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

These two snippets should both succeed, but the second one fails.

(run 1 [q]
  (fresh [a c]
    (conso a nil c)
    (== `(~a) c))) ;; '(_0)
(run 1 [q]
  (fresh [a b c]
    (conso a b c)
    (== b nil)
    (== `(~a) c))) ;; expected: '(_0), actual: '()

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: