Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.4K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

A HoldInherit option or equivalent?

POSTED BY: Mark Green
Posted 11 years ago

You can of course set some UpValues but I would not go this way as it may be tricky and long before you get something really general.

You can always use Unevaluated:

a = b = c = 1;
Map[Hold, Unevaluated@{a, b, c}]
{Hold[a], Hold[b], Hold[c]}
POSTED BY: Kuba Podkalicki
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard