0.8.4-SNAPSHOT Arrow_down_16x16
  • (resto l d)
A relation where l is a collection, such that d is the rest of l

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core/logic.clj:1598 top

(defn resto
  "A relation where l is a collection, such that d is the rest of l"
  [l d]
  (fresh [a]
    (== (lcons a d) l)))
Vars in clojure.core.logic/resto:
Used in 0 other vars

Comments top

No comments for resto. Log in to add a comment.