Skip to content

This contains examples from the famous LISP/scheme book called "The Reasoned Schemer" which inspired core.logic implementation. The book is one of the best tutorial available to learn core.logic. However the examples are in scheme. Some of the same examples from the book have been used and translated into Clojure here.

Notifications You must be signed in to change notification settings

dsbw/the-reasoned-schemer-clojure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

reasoned-schemer-clj

The book "The Reasoned Schemer" has inspired the development of Core Logic and is reported to be one of the best tutorial to get familiar with Core Logic. Unfortunately the examples are in Scheme and not in Clojure. Although it is meant to be easy to translate one into the other it is nice to have access to a cheat sheet if you're starting. I couldn't find any comprehensive examples anywhere so I decide to try the exercises myself and post them on Github as I go along.

It's far from complete or perfect but I'm interested on feedback from Clojurians who went through the same experience (especially on the examples that do not work exactly like the book). Let me know if you found examples for which you have a more accurate translation.

All the examples are under: src/reasoned_schemer_clj/core.clj

You can find the differences between The Reasoned Schemer and Clojure under:

Differences from The Reasoned Schemer and Clojure

Usage

Copy each examples one by one into a repl to experiment with core.logic

License

Copyright © 2013 Mathieu Gauthron

Distributed under the Eclipse Public License, the same as Clojure.

About

This contains examples from the famous LISP/scheme book called "The Reasoned Schemer" which inspired core.logic implementation. The book is one of the best tutorial available to learn core.logic. However the examples are in scheme. Some of the same examples from the book have been used and translated into Clojure here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%