Page 1 of 1

Help using DEFPACKAGE and ASDF

Posted: Tue May 06, 2014 7:35 pm
by joeish80829
I n Lisp how do I create a package called "a" and a package named "b" where my "b" files can access anything from package "a" , by just calling the function name, without the "a:" prefix. I would like to be able to access what is in "b" , while I am in "a" by using only the "b:" prefix, All the function names in "a" and "b" would be the same and they would be Identical except for 1 minor variation. But "b" would depend on items in "a" that "b" wouIdn't have. I would always be calling (in-package "a") when both packages are loaded, but ideally never (in-package "b") because I only want to access "b" with the "b:" prefix...how would i do this??