Skip to content

Instantly share code, notes, and snippets.

@rm-hull
Created October 3, 2013 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rm-hull/6816151 to your computer and use it in GitHub Desktop.
Save rm-hull/6816151 to your computer and use it in GitHub Desktop.
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