Re: [Maxima] problem calling MAXIMA function at lisp level
Subject: Re: [Maxima] problem calling MAXIMA function at lisp level
From: Richard Fateman
Date: Wed, 15 Jan 2003 09:49:25 -0800
Stavros Macrakis wrote:
.. snip..
>
> I lean towards considering variation in spelling non-significant, but
> preserving it nonetheless (like the Windows file system -- no snickering
> please). The system could either give a warning/error when a
> non-standard spelling is used, or simply use the canonical form. When a
> separator is needed within a name, why not use "_" (on_click)?
>
> Others' thoughts?
>
> -s
The Mathematica convention is to have case matter. All the built-in
commands start with a capital, but users can define new forms with or
without capital letters. Multiple-word commands look like FullSimplify.
(and _ is used for other things. The lisp convention might be
full_simplify, and in ANSI standard, this would be the same as
FULL_SIMPLIFY or FuLl_SImpLiFy.
I agree with Stavros that this is potentially hazardous if you
try a command Fullsimplify and nothing happens because you had
to type FullSimplify. One way around this, to some extent, is
what is done in Mathematica. If you type Fullsimplify it prints
a warning: Fullsimplify is close to FullSimplify. Did you mean
that?
(Others' thoughts are welcome, of course...)
RJF