Bug or enhancement for partition



Dan Stanger wrote:

> partition(x,x) causes the following error, isn't this well defined?
>
> partition(x,x);
> x is an incorrect arg to PARTITION
>  -- an error.  Quitting.  To debug this try DEBUGMODE(TRUE);)
>
>

I think it is feature.
The description of  partition in documentation doesn't look as
rigorous mathematical definition so it is not clear why parttition(x,x)

is considered as erroneous. On the other hand I can se _some_
rational behind this. This expression is nether product nor sum nor
list.
I guess partition will produce error for any atomic expression.

--

[ Vadim V. Zhytnikov  <vvzhy@mail.ru>  <vvzhy@td.lpi.ac.ru> ]