indexing
From: Algernon (algernon_at_dmv.com)
Date: 07/10/04
- Previous message: Arnaud Gotlieb: "ICLP04 : Detailed program / Extended early registration deadline"
- Next in thread: bart demoen: "Re: indexing"
- Reply: bart demoen: "Re: indexing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 10 Jul 2004 09:54:38 -0400
I am sure that I read (but not certain where) something like this. If we
have a predicate p that performs some operation of a list and an integer (or
some other type) we should write it with list first p(List,Int) because of
indexing, Prolog can tell that a goal that unifies with p([],Int) will not
unify with p([X|Xs]).
Is this true?
- Previous message: Arnaud Gotlieb: "ICLP04 : Detailed program / Extended early registration deadline"
- Next in thread: bart demoen: "Re: indexing"
- Reply: bart demoen: "Re: indexing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|