Question about manual content: example(append); example("lambda");
Subject: Question about manual content: example(append); example("lambda");
From: edgar
Date: Fri, 8 Nov 2013 14:06:34 +0100
Am Fri, 8 Nov 2013 06:08:30 -0200
schrieb Jorge Barros de Abreu <ficmatin10 at gmail.com>:
> line manual(Help) we have:
>
> example(append);
> example("lambda");
>
> My question is why 'example("lambda")' work and 'example(lambda)' not
> work?
>
> Why both 'example("append")' and 'example(append)' work?
>
> Do you know what is the difference betweem append and lambda for the
> "example" command?
>
> Do you know why the "example" command treat append not equal to
> lambda?
>
> Sorry for many questions. It is an effort to make the doubt clear.
>
> Thanks for your time.
The maxima manual says:
(%i1) ? example
-- Function: example (<topic>)
-- Function: example ()
`example (<topic>)' displays some examples of <topic>, which is a
symbol or a string. To get examples for operators like `if', `do',
or `lambda' the argument must be a string, e.g. `example ("do")'.
... (more text follows) ...
However:
(%i2) example(lambda);
example: ambda not found. 'example();' returns the list of known
examples.
I think "ambda not found" is a bug.
- edgar