Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 8
    $\begingroup$ Yes. Use System`Private`SetNoEntry on any expression which you want to protect in this manner. $\endgroup$ Commented Oct 8, 2014 at 13:42
  • $\begingroup$ @LeonidShifrin Is there a simple way to undo atomic? I know only HoldPattern@uncover@_@args__ := {args} and uncover@atomicExpr. $\endgroup$ Commented Oct 8, 2014 at 13:58
  • $\begingroup$ @ybeltukov My impression is that, for a given expression, once done, this operation can't be undone. So, one would need to do some version of the "semi-deep copy", as you did. I may be wrong about this though. $\endgroup$ Commented Oct 8, 2014 at 14:07