Okay, so this is my first post, so I may be completely misguided,<br><br>After loading asdf loading GSLL, I find that I cannot do any matrix or permutation stuff with it, unless I did it from withing the package itself. After a while I tracked this to MAKE-SYMBOL-FROM-STRINGS (init/utility.lisp) which interns symbols on the fly. The problem is that it creates symbols in whatever package you happen to be in when it is called. This matters because it is used create class name symbols which should be in the package GSLL not where ever I happen to be using GSLL from.<br>
<br>For example:<br><br>(gsl:letm ((perm-1 (gsl:permutation 4 t)))<br> (gsl:set-identity perm-1)<br> (gsl:maref perm-1 2) )<br>==> Error: There is no class named GSL-PERMUTATION.<br><br>(use-package :gsll)<br>
(gsl:letm ((perm-1 (gsl:permutation 4 t)))<br>
(gsl:set-identity perm-1)<br>
(gsl:maref perm-1 2) )<br>
==> Error: There is no class named GSL-PERMUTATION.<br><br>So I think we want to change...<br><br>(defun make-symbol-from-strings (&rest strings)<br> "Construct a symbol by concatenating words with hyphens."<br>
(intern (format nil "~{~:@(~a~)~^-~}" (mapcar #'string strings))))<br><br>...to...<br><br>(defun make-symbol-from-strings (&rest strings)<br> "Construct a symbol by concatenating words with hyphens."<br>
(intern (format nil "~{~:@(~a~)~^-~}" (mapcar #'string strings)) :gsll))<br><br>With the change the test works (returns 2).<br><br>What do you think?<br>Zach<br><br><br>