On Fri, Jun 16, 2017 at 06:31:06PM -0800, Christopher Howard wrote:
> Hi list. In picolisp, what would be the simplest way to check if a
> string (trans sym) is one character long and that the character is one
> of the letters a-z or A-Z?

I would do:

   (member C '`(mapcar char (conc (range 65 90) (range 97 122))))

Note that the mapcar call is a read macro, so it is executed only once.

♪♫ Alex

UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to