Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revisit lists.pl (and other common Prolog modules) #65

Open
jfmc opened this issue Aug 18, 2022 · 0 comments
Open

revisit lists.pl (and other common Prolog modules) #65

jfmc opened this issue Aug 18, 2022 · 0 comments

Comments

@jfmc
Copy link
Member

jfmc commented Aug 18, 2022

Our idlists module was written by Francisco Bueno, including useful predicates which were not in our original lists module (years before I started working in the CLIP Lab so probably Manuel knows better). I had a look it we would have no problem with merging idlists into lists (those predicates seem standard in other Prologs nowadays).

As SWI mentions in their documentation: "Virtually every Prolog system has library(lists), but the set of provided predicates is diverse. There is a fair agreement on the semantics of most of these predicates, although error handling may vary."

For reference:

Some of systems above include meta predicates like maplist/N in the lists.pl module. Ciao avoids doing it.

Originally posted by @jfmc in #60 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant