Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User closer-mop when appropiate #2

Closed
PuercoPop opened this issue Dec 23, 2014 · 1 comment
Closed

User closer-mop when appropiate #2

PuercoPop opened this issue Dec 23, 2014 · 1 comment

Comments

@PuercoPop
Copy link

In slot-names you implement the same function twice using implementation specific packages with features flags. You could instead use the implementation-compatibility layer closer-mop, for example:

(defun slot-names (obj)
  "Returns the list of slot symbols for a structure/CLOS class
instance."
  (loop
     for slot in (c2mop:class-slots (class-of obj))
     collect (c2mop:slot-definition-name slot))
@ghollisjr
Copy link
Owner

Thank you for showing me closer-mop, now using it.

@anquegi anquegi mentioned this issue Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants