Get the module of a export

May 18 2011 by Rex Pan 30
false

2


How could we get module which contain this export, for example

I have

m1 := module export a; end module;

 temp := m:-a;

evalb(temp = a);
 # false
evalb(temp = m:-a);
 # true 

 but how could I get back the module like this

temp2 := getModule(temp); 

temp2;

 # m

evalb(temp2 = m) ;

# true 

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account