[Rd] Documentation for is.atomic and is.recursive
Stavros Macrakis
macrakis at alum.mit.edu
Wed Sep 2 20:54:45 CEST 2009
On Wed, Sep 2, 2009 at 2:39 PM, Stavros Macrakis<macrakis at alum.mit.edu> wrote:
> Most types of language objects are regarded as recursive: those
> which are not are the atomic vector types, 'NULL' and symbols (as
> given by 'as.name').
>
> But is.recursive(as.name('foo')) == is.recursive(quote(foo)) == FALSE.
Sorry, this *is* consistent with the behavior. But if we read "the
atomic vector types, 'NULL' and symbols" as a list of mutually
exclusive categories, then is.atomic(NULL)==FALSE is inconsistent.
-s
More information about the R-devel
mailing list