Releasing several Holds simultaneously
- To: mathgroup at smc.vnet.net
- Subject: [mg82248] Releasing several Holds simultaneously
- From: "Andrew Moylan" <andrew.j.moylan at gmail.com>
- Date: Tue, 16 Oct 2007 03:27:09 -0400 (EDT)
Hold[a := Hold[1]] How can I release both of these Holds (and thus execute a:=1) simultaneously? ReleaseHold[%] doesn't work; it evaluates a := Hold[1] before the other hold is removed. % /. Hold[x_]:>x does the same thing, because /. only matches once per part.
- Follow-Ups:
- Re: Releasing several Holds simultaneously
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: Releasing several Holds simultaneously
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Releasing several Holds simultaneously