In case you write Prolog programs regularly you probably have your own library of predicates you always rely on. Some Prolog systems come with a rich set of predefined predicates and some not. Some systems have libraries but they are mostly incompatible with other systems. Also, many existing libraries contain a lot of rarely needed predicates. But then, there are a couple predicates that "should" be always present. And then, there is some progress happening since November like this and Cor.2 (draft). Why not here too?
So what are your favorite predicates? That is predicates, that are not defined in the ISO core.
To start with: between/3
, member/2
, length/2
, dif/2
, maplist/2
, ...
For DCGs: seq//1
, iseq//1
, ... //0
.
Edit: The first draft of the Prolog prologue can be found here!
Edit: If you want that this question is reopened, please vote to reopen but also help to reformulate the question such that it will not get closed again.
hatewikilawyering, and I'dhateSO-lawyering just as much. People should leave matters alone which they haven't enough expertise in; everyone knows about themselves where they have or have not enough expertise. And what's so horrible about chatty or even trolling questions. I'm for natural selection among questions, I'm against unnatural selection. A bad question will just get ignored all by its own self. – Will Ness Jul 29 '12 at 22:18