(defun %make-package (name use)
(let ((package (new)))
- (setf (oget package "packageName") name)
+ (setf (oget package "packageName") (string name))
(setf (oget package "symbols") (new))
(setf (oget package "exports") (new))
(setf (oget package "use") use)
(if (find name *package-list* :key (lambda (s) (oget s "packageName")) :test #'equal)
- (error "A package namded `~a' already exists." name)
+ (error "A package named `~a' already exists." name)
(push package *package-list*))
package))