all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.