unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Chained Object Type Predicates
@ 2009-06-08 12:39 Nordlöw
  2009-06-08 12:58 ` Pascal J. Bourguignon
  2009-06-08 13:36 ` Lennart Borgman
  0 siblings, 2 replies; 3+ messages in thread
From: Nordlöw @ 2009-06-08 12:39 UTC (permalink / raw)
  To: help-gnu-emacs

How should i implement chained type predicate functions, for example

(defun list-of-numbers-p (object) (and (listp object) ...))

should return t if object is of type list (listp) and its elements in
turn all are of type string (stringp) otherwise nil.

Thanks in advance,
Per Nordlöw


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

end of thread, other threads:[~2009-06-08 13:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 12:39 Chained Object Type Predicates Nordlöw
2009-06-08 12:58 ` Pascal J. Bourguignon
2009-06-08 13:36 ` Lennart Borgman

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).