Orchid XP v7 <voi### [at] devnull> wrote:
> 1. If LIST is the empty list then SUM(LIST) is defined as 0.
> 2. Otherwise, SUM(LIST) is defined as the first element of LIST +
> SUM(rest of LIST).
OTOH, you don't define what "rest of LIST" means.
> Anybody else have anything to add?
I still like the definition of "connected" in the New Zealand go rules:
"Two stones of the same colour are connected if they are on adjacent
intersections or if they are both connected to a third stone."
Even most functional programmers have hard time understanding that
correctly the first time they see it.
--
- Warp
Post a reply to this message
|