Help using DEFPACKAGE and ASDF

Discussion of Common Lisp

Help using DEFPACKAGE and ASDF

Postby 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:" would i do this??
Posts: 153
Joined: Tue Sep 03, 2013 5:32 am

Return to Common Lisp

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 1 guest