RE: delayed rule evaluation order
- To: mathgroup at smc.vnet.net
- Subject: [mg68013] RE: [mg67967] delayed rule evaluation order
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 20 Jul 2006 06:04:53 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Chris, You could use the ExpressionManipulation package (free) at my web site. It has a routine to evaluate held expressions at given positions or patterns. Needs["Algebra`ExpressionManipulation`"] Hold[{2, 3}] /. {{x_, y_} :> x^y} % // EvaluateAtPattern[_Power] Hold[2^3] Hold[8] David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Chris Chiasson [mailto:chris at chiasson.name] To: mathgroup at smc.vnet.net Hold[{2, 3}] /. {{x_, y_} :> x^y} the result is Hold[Power[2,3]] I would like the result to be Hold[8] The original context is post-processing of a large Trace output (via SetPrecision to get rid of digits and improve readability). Any ideas? -- http://chris.chiasson.name/