On Thu, Jun 18, 2015 at 9:21 AM, Isaiah Norton <[email protected]> wrote:
> You can define a function called "eval" in a baremodule, but you will then
> need to explicitly import the other things you might need from Base ... what
> is the goal?
>
> On Jun 18, 2015 8:31 AM, "Christoph Ortner" <[email protected]>
> wrote:
>>
>> Do I understand correctly that `eval` cannot be overloaded?
>>
>> I get the following message (0.3.9):
>>
>> Warning: import of Base.eval into Lattices conflicts with an existing
>> identifier; ignored.

The eval function is defined in the module itself[1] and Core.eval is
not a generic function.

http://julia.readthedocs.org/en/release-0.3/manual/modules/?highlight=baremodule#default-top-level-definitions-and-bare-modules

>>
>> Thanks,
>>     Christoph
>>
>

Reply via email to