Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15300

Unprotect[] Protect[] redefining builtin but keep original available

From roby <roby.nowak@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Unprotect[] Protect[] redefining builtin but keep original available
Date 2013-08-13 07:56 +0000
Message-ID <kucorf$a47$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Unprotect[] Protect[] redefining builtin but keep original available roby <roby.nowak@gmail.com> - 2013-08-13 07:56 +0000
  Re: Unprotect[] Protect[] redefining builtin but keep original available Chris Osborn <chrisosb@gmail.com> - 2013-09-03 06:20 +0000
  Re: Unprotect[] Protect[] redefining builtin but keep original available Szabolcs Horvát <szhorvat@gmail.com> - 2013-09-04 03:32 +0000

csiph-web