(defpattern Name ...)
uses Name
to register the pattern handler before the package macro has prefixed all symbols
#7
Labels
bug
Something isn't working
Since registering of the handler happens during macro expansion, which itself happens before the
package
form is handled, the reference to the pattern handler is added using the unprefixed name.There is no way to recover the name of the current package at the moment, so the solution for now is to just make users aware of this.
library
is likely to use it's own loader in the future and discourage the use ofpackage
in favor of other namespacing mechanism. In that casepackage
wouldn't be a problem.The text was updated successfully, but these errors were encountered: