i1 : newPackage "Foo" o1 = Foo o1 : Package |
i2 : export "abc" o2 = {abc} o2 : List |
i3 : abc = 3 o3 = 3 |
i4 : dictionaryPath o4 = {Foo#"private dictionary", Foo.Dictionary, Core.Dictionary, ------------------------------------------------------------------------ OutputDictionary, PackageDictionary} o4 : List |
i5 : endPackage "Foo" o5 = Foo o5 : Package |
i6 : peek oo o6 = Package{configuration file name => null } Dictionary => Foo.Dictionary example data files => MutableHashTable{} example inputs => MutableHashTable{} example results => MutableHashTable{} exported mutable symbols => {} exported symbols => {abc} index.html => /usr/share/doc/Macaulay2/Foo/html/index.html loadDepth => 3 Options => OptionTable{Authors => {} } AuxiliaryFiles => false CacheExampleOutput => null Certification => null Configuration => {} Date => null DebuggingMode => false Headline => null HomePage => null InfoDirSection => Macaulay2 and its packages OptionalComponentsPresent => true PackageExports => {} PackageImports => {} Reload => false UseCachedExampleOutput => false Version => 0.0 package prefix => /home/m2user/build/BUILD/Macaulay2-M2-94c4b7d/M2/BUILD/x86_64-redhat-linux-gnu/usr-dist/ pkgname => Foo private dictionary => Foo#"private dictionary" processed documentation => MutableHashTable{} raw documentation => MutableHashTable{} source directory => /tmp/M2-3811875-0/174-rundir/ source file => stdio test inputs => MutableHashTable{} test number => 0 undocumented keys => MutableHashTable{} |
i7 : dictionaryPath o7 = {Foo.Dictionary, Truncations.Dictionary, SimpleDoc.Dictionary, ------------------------------------------------------------------------ InverseSystems.Dictionary, ConwayPolynomials.Dictionary, ------------------------------------------------------------------------ ReesAlgebra.Dictionary, TangentCone.Dictionary, Classic.Dictionary, ------------------------------------------------------------------------ PrimaryDecomposition.Dictionary, IntegralClosure.Dictionary, ------------------------------------------------------------------------ MinimalPrimes.Dictionary, LLLBases.Dictionary, Elimination.Dictionary, ------------------------------------------------------------------------ User#"private dictionary", User.Dictionary, Core.Dictionary, ------------------------------------------------------------------------ OutputDictionary, PackageDictionary} o7 : List |
i8 : abc o8 = 3 |