Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

HoldFirst confusion

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65503] HoldFirst confusion
  • From: Yaroslav Bulatov <yaroslavvb at gmail.com>
  • Date: Wed, 5 Apr 2006 06:56:00 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

The following gives an error
f = 5; f[a_] = a

Set is HoldFirst, so why does it evaluate it's first argument f[a_]?

Yaroslav


  • Prev by Date: Re: Re: Re: simplify a trig expression
  • Next by Date: Freeing Memory
  • Previous by thread: Re: ListDensityPlot and GraphicsArray
  • Next by thread: Re: HoldFirst confusion