Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!decwrl!labrea!csli!gandalf From: gandalf@csli.STANFORD.EDU (Juergen Wagner) Newsgroups: comp.lang.lisp Subject: Re: Summing a list Message-ID: <6135@csli.STANFORD.EDU> Date: 26 Oct 88 03:12:55 GMT References: <10794@srcsip.UUCP> <10813@srcsip.UUCP> Reply-To: gandalf@csli.stanford.edu (Juergen Wagner) Organization: Center for the Study of Language and Information, Stanford U. Lines: 11 How about -> (reduce #'+ '(1 2 3 4 5 6 7 8 9 10)) 55 This will allow the compiler to make any optimizations suitable for the machine you are running on, and it allows you to avoid thinking about the "most efficient way" of representing this. -- Juergen "Gandalf" Wagner, gandalf@csli.stanford.edu Center for the Study of Language and Information (CSLI), Stanford CA