The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Unprotect[] Protect[] redefining builtin but keep original available
Replies: 2   Last Post: Sep 3, 2013 11:32 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 87
Registered: 5/8/07
Unprotect[] Protect[] redefining builtin but keep original available
Posted: Aug 13, 2013 3:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear Group

Is it in general possible to redefine mathematica builtins but still call the original function from within (but not only from there) the redefinition ?

In particular I would like to overload a builtin (distinguished by an additional Option additionalopt->o) and keep the possibility to call the original (distinguished by omitting the additional Option or
by setting additionalopt->None)

Regards Robert

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.