Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple script to check that core.logic is wired in properly
(ns example
(:require-macros [cljs.core.logic.macros :as m])
(:use [cljs.core.logic :only [membero]]))
(println
(m/run* [q]
(membero q '(:cat :dog :bird :bat :debra))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment