[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Predicate for true lists

From: Drew Adams
Subject: RE: Predicate for true lists
Date: Sun, 21 Apr 2019 17:03:14 -0700 (PDT)

> > 1. Wrt this proposed addition:
> >
> > +A @dfn{pure function} is a function which, in addition to having no
> > +side effects, always returns the same value for the same combination
> > +of arguments, regardless of external factors such as machine type.
> >
> > You might want to add something like this at the end:
> >
> > ", current time/date, or state of the system or
> > Emacs session."
> >
> > "Machine type" is not the first thing I'd think of in this
> > regard, and it doesn't emphasize current state in the context
> > of dynamic changes.  The result does not depend on any state.
> Right.  Would "machine type or system state" suffice?  I think this
> covers time/date, etc.

Anything that mentions state (which could be _any_ state
available to Emacs - not just system state, if "system"
means OS) is better than no mention of state.  Emacs
could read a sensor or get state from a process report or...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]