Skip to main content

Timeline for Copying a symbol using a subpackage

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Apr 13, 2017 at 12:55 history edited CommunityBot
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Mar 2, 2013 at 1:15 comment added Murta Nice to see that my question was usefull. :)
Mar 1, 2013 at 19:45 vote accept Ronny
Mar 1, 2013 at 19:45 history edited Ronny CC BY-SA 3.0
Updated with a solution.
Mar 1, 2013 at 16:06 comment added Ronny Thanks, I think setting copy private is a good idea, but up to know, I'm not able to adapt the answer (which works fine for the MWE) to the production code - though I checked character by character - the function does not get copied :/
Mar 1, 2013 at 16:00 comment added Albert Retey @Ronny: I think for production code you would want to insert an additional pair of Begin and End: as it is written now, you'll also export copy, prop, new and org along with g...
Mar 1, 2013 at 15:29 answer added rm -rf timeline score: 5
Mar 1, 2013 at 15:20 comment added Ronny Oh. Didn't think of that one, because it's a sub package. I adapted your idea and used BeginPackage["A`Sub`",{"A`"}] (and learned about the double ticks), it works. Though my eyes hurt, that the subpackage has to load it's parent; but I'll have to get used to that I think. Works fine :)
Mar 1, 2013 at 15:15 comment added rm -rf The package A`Sub` does not know about A` , so you should load Needs["A`"] immediately after BeginPackage["A`Sub`"]. I haven't run your code, but can you try the above and see if it works (use a fresh kernel, etc.). If it does, I'll post it as an answer.
Mar 1, 2013 at 15:10 history edited rm -rf CC BY-SA 3.0
deleted 47 characters in body
Mar 1, 2013 at 14:54 history asked Ronny CC BY-SA 3.0