grinding to C, colnew



On 03/08/2011 05:20 PM, Michel Talon wrote:
> First, there is a function "push" documented in maxima manual, but
> it doesn't work:
> niobe% maxima
> (%i1) push(1,[]);
> (%o1)                             push(1, [])
>    

you can use endcons() to mimick push() in the way you want it:

(%i4) endcons(1,[]);
(%o4)                                 [1]


Alex