Re: Ann: delay pack
Michael Hendricks <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAFHuXubfwYXtPX7hGt8KLkEnxiS9QWTTsw6qJP+V81vDQOxHjA@mail.gmail.com> |
On Fri, Aug 9, 2013 at 12:22 PM, Ian Tegebo <[email protected]> wrote: > A minor suggestion, could you document how to support other > predicates? The code is clear enough that I can almost figure it out, > but a little help would be nice. > Good suggestion. I've added the following language to the README: "To add support for additional built-in predicates, add clauses to the mode/1 predicate in `prolog/delay.pl`. There should be one clause for each mode in which the built-in can operate. Submit your changes as a pull request." Aside from pull requests, I'll support additional built-in predicates as I have use for them (or time to go through all the SWI Prolog docs). There's not currently a way to dynamically add support for additional predicates. I plan to add that eventually, but haven't found a notation that I like yet. -- Michael -------------- next part -------------- HTML attachment scrubbed and removed