Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > packages > importFrom
next | previous | forward | backward | up | index | toc

importFrom -- import symbols to the current private dictionary



This function can be used to import specific symbols from the private dictionary of another package into the private dictionary of the current package.

i1 : importFrom_Core {"raw"}

o1 = {raw}

o1 : List
i2 : raw random(ZZ^2, ZZ^2)

o2 = 8 3 
     1 7 

o2 : RawMatrix

To import all private symbols of a package, use debug(Package) instead. The symbols imported with this function can then be exported using export or exportMutable.

See also

Ways to use importFrom :

For the programmer

The object importFrom is a method function.