Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:beginner:package_for_turtlesim [2015/04/28 15:34] – [Creating the Lisp Package] gkazhoyadoc:beginner:package_for_turtlesim [2015/04/28 15:34] – [Creating the Lisp Package] gkazhoya
Line 43: Line 43:
 ==== Creating the Lisp Package ==== ==== Creating the Lisp Package ====
  
-Lisp packages are the equivalent to C++ namespaces or Python modules. Lisp packages cannot be hierarchicWe can define which other packages should be used, i.e. which symbols should be accessible without a package prefix. Further, we can define which symbols should be exported from the package.+Lisp packages are the equivalent to C++ namespaces or Python modules. Lisp packages cannot be hierarchicalThrough Lisp packages we can define which other packages should be used, i.e. which symbols should be accessible without a package prefix. Further, we can define which symbols should be exported from the package.
  
 Create a sub-directory ''src'' in your package. Then create the file ''package.lisp'' and put the following code into it: Create a sub-directory ''src'' in your package. Then create the file ''package.lisp'' and put the following code into it: