Newsgroups: comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!purdue!news.cs.indiana.edu!jeschke@cs.indiana.edu
From: "Eric Jeschke" <jeschke@cs.indiana.edu>
Subject: Re: I was wrong (mea culpa) Re: pair? AND list?
Message-ID: <199511271528.KAA21157@piano.cs.indiana.edu>
Organization: Computer Science, Indiana University
References: <48p0td$pqf@netnews.nctu.edu.tw> <48t16e$eh1@blackrabbit.cs.uoregon.edu> <48tfv1$18s@jive.cs.utexas.edu> <wnewmanDIGJIF.3qB@netcom.com> <490drm$oca@estoril.cs.utexas.edu>
Date: Mon, 27 Nov 1995 10:28:22 -0500 (EST)
Lines: 21

wilson@cs.utexas.edu (Paul Wilson) writes:

:And anyway (or (null? x) (pair? x)) is such a common idiom that it
:ought to have a shorthand.  list-head? is the best name for it I've
:heard so far. 

Hmm.  To me, 'list-head?' sounds like a predicate testing if the car
of a pair is a list.

	pair-or-null?

is not too long and is fairly descriptive, but I agree that something
more terse might be appropriate.
	
	pair-like?
	list-like?
	
.02c,
-- 
Eric Jeschke
jeschke@cs.indiana.edu
