Re: predutils package available (Re: PAC library for develop version available)

Michael Hendricks <[email protected]> Tue, 30 Sep 2014 08:29:43 -0600
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAFHuXuYty9BjF2GWxcs=Bu6pxHxCuGf__1Zu4YWZ1TEEctVpNA@mail.gmail.com>
On Tue, Sep 30, 2014 at 12:22 AM, Kuniaki Mukai <[email protected]>
wrote:

> I have managed to install "predutils" package, which I am calling pac
> library.
> (ERROR message below is for  minor updates.)
>

Congratulations on getting it working.  When I tried to install the pack, I
got an error message saying that the tarball contents had changed.  I
verified this by comparing the current tarball's SHA1
(2a551f0bd4fa491d03e2433eaf706e570b1e16d2) against the one listed on the
website (5679d4f08644a9d5eb1b5e50cb3b9e29ad129d1a).

If you need to change the contents of your pack, modify pack.pl to
increment the version number.  Then create a new tarball named after that
version number.  This preserves a history each pack and assures users that
they're downloading the right code.



> ?- [library(predutils)].
> true.
>

For what it's worth, I prefer the pack name "pac" as you tried with your
initial upload.  If you upload your next version as "pac", let Jan know and
he can delete the "predutils" pack.

?- module(pac).
> true.
>

This is needed because library(predutils) doesn't export the predicates
from module pac.  The documentation on modules should help:
http://swi-prolog.org/pldoc/man?section=modules

I hope that helps.

-- 
Michael
-------------- next part --------------
HTML attachment scrubbed and removed