|
From: Raymond T. <ray...@er...> - 2007-04-10 17:06:57
|
>>>>> "Tamas" == Tamas K Papp <Tamas> writes:
Tamas> I start cmucl (latest version) and do (load "start.lisp") from the
Tamas> directory where I put matlisp.
Tamas> I try to load it with use-package, but get the following error message:
Tamas> * (use-package "MATLISP")
Tamas> Error in function USE-PACKAGE:
Tamas> Use'ing package MATLISP results in name conflicts for these symbols:
Tamas> (REAL HELP)
Tamas> [Condition of type SIMPLE-ERROR]
This is a known issue. Matlisp defines a function REAL in the MATLISP
package. This collides with the symbol REAL in COMMON-LISP. If you
continue, you will lose the symbol REAL from the CL-USER package.
Tamas> OTOH, in-package works fine:
Tamas> * (in-package "MATLISP-USER")
This is the preferred way to access Matlisp.
Tamas> #<The MATLISP-USER package, 1/9 internal, 0/2 external>
Tamas> but only after I run (load "start.lisp").
The package won't exist until you load start.lisp.
Tamas> Questions:
Tamas> 1. do I need to load start.lisp every time I want to use matlisp?
Tamas> 2. how can I make use-package work?
1. You can save a core file with Matlisp and everything loaded.
2. Not sure, but you need to be careful because Matlisp defines it's
own REAL function.
Ray
|