Path: utzoo!attcan!uunet!mcvax!ukc!s1!kh From: kh@s1.sys.uea.ac.uk (Kevin Hammond CMP) Newsgroups: comp.lang.prolog Subject: Re: The meaning of "declarative" Summary: Lisp isn't declarative Message-ID: <152@s1.sys.uea.ac.uk> Date: 7 Oct 88 13:34:39 GMT References: <818@etive.ed.ac.uk> Distribution: comp.lang.prolog Organization: UEA, Norwich, UK Lines: 14 In article <818@etive.ed.ac.uk>, jha@lfcs.ed.ac.uk (Jamie Andrews) writes: > I think the term was first used to > draw a distinction between imperative languages and languages > like LISP. So in functional languages, programs describe > functions, and in logic programming, programs describe > relations. But Lisp has assignment, I/O and other imperative features. How can it be declarative? Lisp is functional yes (it has higher order functions), but declarative no. -- Wot? No Signature? UUCP: ...!mcvax!ukc!uea-sys!kh JANET: kh@sys.uea.ac.uk