Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Symbolic: mini-progress report 2004.03.25

Author: Tord Romstad

Date: 04:34:05 03/25/04

Go up one level in this thread


On March 25, 2004 at 07:10:53, Steven Edwards wrote:

>Indeed, Common Lisp also has a format specifier for selecting and applying
>singular/plural English suffixes based on the value of an argument.

Yes, I forgot that one in my reply to Sune.

CL-USER> (defun print-number-of-nodes (nodes)
	   (format t "I have searched ~R node~P.~%" nodes nodes))

CL-USER> (print-number-of-nodes 1)
I have searched one node.
NIL

CL-USER> (print-number-of-nodes 2)
I have searched two nodes.
NIL


:-)


Tord




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.