From aikguitarist@usa.net  Mon Nov 20 02:42:24 2000
Received: from aw164.netaddress.usa.net (aw164.netaddress.usa.net [204.68.24.64])
	by swi.psy.uva.nl (8.9.3/8.9.3) with SMTP id CAA16442
	for <prolog@swi.psy.uva.nl>; Mon, 20 Nov 2000 02:42:23 +0100 (MET)
Received: (qmail 23325 invoked by uid 60001); 20 Nov 2000 01:42:22 -0000
Message-ID: <20001120014222.23324.qmail@aw164.netaddress.usa.net>
Received: from 204.68.24.64 by aw164 for [149.99.112.192] via web-mailer(34FM.0700.4.03) on Mon Nov 20 01:42:22 GMT 2000
Date: 19 Nov 00 20:42:22 EST
From: aikGuitarist <aikguitarist@usa.net>
To: prolog@swi.psy.uva.nl
Subject: divide_n
X-Mailer: USANET web-mailer (34FM.0700.4.03)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by swi.psy.uva.nl id CAA16442

I need help writing this prolog predicate:

divide_n(list,n,A,B) that succeeds iff list is a List, n is an integer >= 0,
and n is betwen 0 and length of list inclusive, A is a list containing the
first P elements of List, and B is a list containing the other remaining
elements of the list. 


____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1

