Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15028
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: What is f[1]? Advanced question |
| Date | 2013-06-28 07:48 +0000 |
| Message-ID | <kqjf3g$9eo$1@smc.vnet.net> (permalink) |
| References | <20130626011408.DC7E86A2B@smc.vnet.net> <kqdshl$n34$1@smc.vnet.net> <kqh3u0$2im$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On 27/06/2013 11:25, amannucci wrote:
> Thanks. This is very helpful. I remain puzzled by this:
>
> u // FullForm
> FullForm[Symbol["u"]]
> FullForm[Unevaluated[Symbol["u"]]
> Head[u]
>
> FullForm[{1, 2, 3}]
> Head[{1, 2, 3}]
>
> In other words, Head and FullForm seem consist for the list, and inconsistent for the variable u. u's full form is just, literally "u", not Symbol["u"]. But the list's FullForm starts with "List". Head of Symbol["u"] is not Symbol, but "u". What gives?
>
>
I don't think there is too much mystery here - FullForm would simply be
too clumsy if it expanded symbols into Symbol constructs. As it is,
FullForm is incredibly useful.
I wish there was also a variant that did not evaluate its argument. True
one can write:
expression //Hold//FullForm
but the expression gets contaminated with Hold.
David Bailey
http://www.dbaileyconsultancy.co.uk
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: What is f[1]? Advanced question Bob Hanlon <hanlonr357@gmail.com> - 2013-06-26 05:00 +0000
Re: What is f[1]? Advanced question amannucci <Anthony.J.Mannucci@jpl.nasa.gov> - 2013-06-27 10:25 +0000
Re: What is f[1]? Advanced question David Bailey <dave@removedbailey.co.uk> - 2013-06-28 07:48 +0000
Re: What is f[1]? Advanced question John Doty <noqsiaerospace@gmail.com> - 2013-06-28 07:48 +0000
csiph-web