A much shorter version using an everyo goal I just landed in master:

http://gist.github.com/3217582

David

On Tue, Jul 31, 2012 at 11:36 AM, gaz jones <gareth.e.jo...@gmail.com>wrote:

> Wow, that's pretty nice.
>
> On Tue, Jul 31, 2012 at 8:07 AM, David Nolen <dnolen.li...@gmail.com>
> wrote:
> > Ever since I read Norvig's cool Python solution,
> > http://norvig.com/sudoku.html, I've been wanting to see if this could be
> > done in core.logic without sacrificing generality. Now that we have
> cKanren
> > extensions in master I gave it a shot (thanks to Martin Trojer) and I'm
> > happy with the results.
> >
> > http://dosync.posterous.com/sudoku
> >
> > I think this example illustrates how powerful it can be to use functional
> > programming to drive a logic program.
> >
> > David
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to clojure@googlegroups.com
> > Note that posts from new members are moderated - please be patient with
> your
> > first post.
> > To unsubscribe from this group, send email to
> > clojure+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/clojure?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to