Re: Unacceptable bug in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg93532] Re: Unacceptable bug in Mathematica
- From: David Reiss <dbreiss at gmail.com>
- Date: Thu, 13 Nov 2008 21:06:51 -0500 (EST)
- References: <gfgqf2$dj0$1@smc.vnet.net>
Actually this is not a bug. Exp is the head of an expression and is a Mathematica symbol. Hence it is syntactically correct or it so stand on its own. For example it can appear as an argument to an appropriate function such as Map as in Map[Exp,{1,2,3,4}] --David On Nov 13, 4:02 am, psycho_dad <s.nesse... at gmail.com> wrote: > The other day, a friend discovered something that may qualify as a > major bug in Mathematica (tested in 6.0.3): > > SyntaxQ["Exp[]"] > > (notice that Exp has no argument) returns > > True !!!! > > According to the documentation: > > SyntaxQ["string"] returns True if the string corresponds to > syntactically correct input for a single Mathematica expression, and > returns False otherwise. > > At least for me Exp[] is not syntactically correct. I expected more > from Mathematica... > > Cheers