Yes, I don't think there is a way to replace a module's eval function. At least, I can't think of any way to accomplish this besides creating a baremodule.
On Thu, Jun 18, 2015 at 11:35 AM, Christoph Ortner < christophortn...@gmail.com> wrote: > I didn't fully understand this: are you saying that, unless I use > `baremodule`, I cannot overload `eval`? > > my usage is simply that I have type A, say, that defines a function and I > want to call eval(A, arg) to evaluate. I am perfectly happy to just call > `feval` instead of `eval`, but I was curious. > > Many thanks, > Christoph >