Help using DEFPACKAGE and ASDF

Discussion of Common Lisp
Post Reply
joeish80829
Posts: 153
Joined: Tue Sep 03, 2013 5:32 am

Help using DEFPACKAGE and ASDF

Post by joeish80829 » Tue May 06, 2014 7:35 pm

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??

Post Reply