unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: Inclusion of guile-log II
Date: Fri, 6 Apr 2012 20:03:40 +0200	[thread overview]
Message-ID: <CAGua6m3pbdg3TND5kOw_Kj8jirQLKxk5iZbPt8yZ-2dSxrwRNQ@mail.gmail.com> (raw)
In-Reply-To: <87zkarqi5a.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1610 bytes --]

> Regardless, I’d be reluctant to use (or include in Guile) a logic
> programming system that uses an interface different from that of Kanren,
> because (1) there’s a book explaining that interface, and (2) it’s very
> well thought out, concise, elegant, and powerful.

F.Y.I.

I have now a kanren interface for guile-log, I do not support
partially-eval-sgl
otherwise everything should be in I think.

To use it install guile-log and use
 (use-modules (logic guile-log kanren))

There is some tests carried over from the kanren sources in the test
directory.

Have fun!

On Wed, Apr 4, 2012 at 11:52 PM, Ludovic Courtès <ludo@gnu.org> wrote:

> Hi Stefan,
>
> Stefan Israelsson Tampe <stefan.itampe@gmail.com> skribis:
>
> > If you want independence use kanren. For guile this approach is 10x
> faster
> > then kanren
> > and 10x slower that a compiled prolog. Previously I thought that kanren
> has
> > a more functional
> > fundament and can express amazing things. But i'm now inclined that
> > guile-log has a feature
> > that are very cool and I will try to explain this feature for the fun of
> it.
>
> Any idea why there’s such a performance difference?
>
> Regardless, I’d be reluctant to use (or include in Guile) a logic
> programming system that uses an interface different from that of Kanren,
> because (1) there’s a book explaining that interface, and (2) it’s very
> well thought out, concise, elegant, and powerful.
>
> AIUI Guile-Log uses a different interface, right?  What would it take to
> implement Kanren’s?
>
> Thanks,
> Ludo’.
>
>
>

[-- Attachment #2: Type: text/html, Size: 2026 bytes --]

  parent reply	other threads:[~2012-04-06 18:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 19:18 Inclusion of guile-log II Stefan Israelsson Tampe
2012-04-04  0:05 ` Mark H Weaver
     [not found]   ` <CAGua6m1MFNHXgU+qam64Hf1Vt3iNEy=v==q4-Ua48a8AgcXz_Q@mail.gmail.com>
     [not found]     ` <CAGua6m0tu98=qHR5GdC4f84AF=noUdt2RpxJPReMVu8UaUMwzg@mail.gmail.com>
2012-04-04 16:30       ` Fwd: " Stefan Israelsson Tampe
     [not found]       ` <87r4w3eact.fsf@netris.org>
2012-04-04 16:33         ` Stefan Israelsson Tampe
2012-04-04 16:54     ` Fwd: " Stefan Israelsson Tampe
2012-04-04 21:52 ` Ludovic Courtès
2012-04-05  6:02   ` Stefan Israelsson Tampe
2012-04-09 20:15     ` Ludovic Courtès
2012-04-06 18:03   ` Stefan Israelsson Tampe [this message]
2012-04-09 20:16     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGua6m3pbdg3TND5kOw_Kj8jirQLKxk5iZbPt8yZ-2dSxrwRNQ@mail.gmail.com \
    --to=stefan.itampe@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).