logic-tutorial
logic-tutorial copied to clipboard
A Very Gentle Introduction to Relational Programming
Hi I just started learning clojure, (require 'clojure.core.logic) on the clojure prompt return me this: java.io.FileNotFoundException: Could not locate clojure/core/logic__init.class or clojure/core/logic.clj on classpath: (NO_SOURCE_FILE:0) I think something is missing...
Mac OS X 10.9.2 Leiningen 2.3.4 on Java 1.7.0_45 Java HotSpot(TM) 64-Bit Server VM Started with: lein repl ``` nREPL server started on port 62480 on host 127.0.0.1 REPL-y 0.3.0...
At the bottom of the Magic Tricks section, it mentions that there is an alternative way to write `appendo` using pattern matching to reduce the amount of boiler plate code...
tim@mwmbles:~/play/clojure/logic-tutorial$ lein repl REPL started; server listening on localhost port 5065 user=> (load "logic_tutorial/tut2") WARNING: == already refers to: #'clojure.core/== in namespace: logic-tutorial.tut2, being replaced by: #'clojure.core.logic.minikanren/== WARNING: inc already...