How is select/3 implemented?
From: Yereth Jansen (yereth.no_at_spam.wanadoo.nl)
Date: 02/05/05
- Next message: Bart Demoen: "Re: How is select/3 implemented?"
- Previous message: Bart Demoen: "Re: Thinking straight with grammar rules"
- Next in thread: Bart Demoen: "Re: How is select/3 implemented?"
- Reply: Bart Demoen: "Re: How is select/3 implemented?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 05 Feb 2005 22:20:02 +0100
Hello,
I am new to prolog, but currently working with an agent programming
language 3APL which uses the prolog engine JIProlog. Now maybe I am
doing something wrong here, but it seems that select/3 is not
implemented, while I want to select a value from a list and remain with
that list without the value. (delete removes all occurences, which is
not what I want... otherwise I'd be using a Set and not a List.) So does
anyone have a solution to my problem or can anyone give me the (/a)
implementation of select/3, preferably such that it will return true (or
whatever the equivalence is in Prolog) like with member/2? I am not that
much into prolog that I can do that myself atm. Didn't get further than
Haskell and that's a long time ago.. :-)
Thanks in advance,
Yereth
- Next message: Bart Demoen: "Re: How is select/3 implemented?"
- Previous message: Bart Demoen: "Re: Thinking straight with grammar rules"
- Next in thread: Bart Demoen: "Re: How is select/3 implemented?"
- Reply: Bart Demoen: "Re: How is select/3 implemented?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|