0.8.4-SNAPSHOT Arrow_down_16x16
  • (firsto l a)
A relation where l is a collection, such that a is the first 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:1592 top

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

Comments top

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