unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Checking if all values of a list are true
@ 2008-07-11 11:23 Nordlöw
  2008-07-11 11:33 ` Nordlöw
  2008-07-11 16:38 ` David Kastrup
  0 siblings, 2 replies; 6+ messages in thread
From: Nordlöw @ 2008-07-11 11:23 UTC (permalink / raw)
  To: help-gnu-emacs

How do I check if all values of a list are true?

This is my attempt:
(reduce 'and '(t t))

but I get the error: and (invalid-function and)

(functionp 'and)

gives true so why on earth doesn't this work?


Thanks in advance,
Nordlöw


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-11 16:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11 11:23 Checking if all values of a list are true Nordlöw
2008-07-11 11:33 ` Nordlöw
2008-07-11 11:37   ` Nordlöw
2008-07-11 11:51     ` Florian Beck
2008-07-11 11:56     ` Joost Kremers
2008-07-11 16:38 ` David Kastrup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).