Re: delayed rule evaluation order
- To: mathgroup at smc.vnet.net
- Subject: [mg67998] Re: delayed rule evaluation order
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Thu, 20 Jul 2006 06:04:41 -0400 (EDT)
- Organization: Uni Leipzig
- References: <e9ku36$l10$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
Hold[{2, 3}] /. {h_[{x_, y_}] :> (h @@ { x^y})}
??
Regards
Jens
"Chris Chiasson" <chris at chiasson.name> schrieb im
Newsbeitrag news:e9ku36$l10$1 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/
|