|
From: | Nicholas Jankowski |
Subject: | Re: more import tests |
Date: | Tue, 15 Aug 2017 10:55:37 -0400 |
On 08/10/2017 01:29 PM, John W. Eaton wrote:
It would be useful to test
function tstfunc ()
import containers.Map
x = Map ();
L = import ()
end
> Also, I need to test what happens when eval is used to give a symbol a
> value when that symbol also exists as a function. For example:
>
> import pkg.sin;
> eval ('sin = pi');
> sin (1)
>
> Is pkg.sin called, or does sin (1) index the variable sin? Does the
> result change if sin is "declared" to be a variable?
>
> sin = [];
> import pkg.sin;
> eval ('sin = pi')
> sin (1)
[Prev in Thread] | Current Thread | [Next in Thread] |