Skip to main content
16 events
when toggle format what by license comment
Jul 17, 2018 at 22:40 history edited b3m2a1 CC BY-SA 4.0
added 29 characters in body
Mar 28, 2017 at 6:57 comment added Fred Simons @MB1965. Thanks again! I am going to play with it.
Mar 28, 2017 at 6:52 comment added b3m2a1 @FredSimons I think it exists to complement the old style. If you look at how the Macros` package is built it does use a BeginPackage in its main package file. However this new style is potentially easier to work with and the more declarative style allows for better introspection--e.g. as done with PackageInformation here. Eventually I'm sure it will make its way into documented functionality. For now we can simply work off of the examples that WRI has already built into the system.
Mar 28, 2017 at 6:48 comment added Fred Simons @MB1965. Thanks! I am highly surprised. Never seen a package not using BeginPackage - EndPackage. The guide Package Development does not mention the new style. So far, it seems to be completely undocumented. Do you think this new style is meant to replace the old style sooner or later?
Mar 27, 2017 at 19:24 comment added b3m2a1 @FredSimons the PacletInformation.m simply specifies that it's a Mathematica application. Packages in the old style would use BeginPackage and EndPackage. In the new style we declare a package with Package and use the Package* family of functions to define it. Then LoadPackage can be used to load such a package. Check out $InstallationDirectory/SystemFiles/Components/Macros/*.m to see examples of this.
Mar 27, 2017 at 19:21 comment added Fred Simons @MB1965 Very interesting, but what are packages in the new style? Is it only that there is a file PacletInformation.m?
Dec 30, 2016 at 20:34 history edited b3m2a1 CC BY-SA 3.0
added 166 characters in body
Dec 22, 2016 at 12:25 history bounty awarded Szabolcs
Dec 21, 2016 at 4:22 history edited b3m2a1 CC BY-SA 3.0
deleted 107 characters in body
Dec 20, 2016 at 18:22 history edited b3m2a1 CC BY-SA 3.0
added 862 characters in body
Dec 19, 2016 at 13:47 history edited b3m2a1 CC BY-SA 3.0
added 399 characters in body
Dec 19, 2016 at 13:14 history edited b3m2a1 CC BY-SA 3.0
deleted 1953 characters in body
Dec 19, 2016 at 12:46 comment added b3m2a1 Sure thing, I'll pare it down to the basics
Dec 19, 2016 at 8:55 comment added Szabolcs In fact I did give pointers to where to spelunk for internal usages of these functions, mentioning both the parallel tools and the paclet manager. Thus I am aware of what you described in your original post. The reason why I set the bounty was that I hoped that someone would do the spelunking and write a concise, easy to understand answer, that shows how to use the most important functions and gives concrete usage examples. I'd like to have an answer which is easy to read for a large audience and doesn't go into the intricacies of spelunking. Can you please update yours to read like that?
Dec 19, 2016 at 0:33 history edited b3m2a1 CC BY-SA 3.0
added 1133 characters in body
Dec 16, 2016 at 20:25 history answered b3m2a1 CC BY-SA 3.0