The OP writes:
> well, right now i'm not even using clsql, i'm just using prevalence.
> and actually, i do have the deftype and the typespec methods defined,
> which is why i couldn't figure out why that wasn't working.

The issue is not CLSQL-specific; it comes with any framework that must
understand the type of data to be stored in a slot using only the class,
not an instance.  With an instance, the value stored in the slot holds
full type information; CLSQL and other class-based storage systems have
less to work with.

I do not know how this issue affects prevalence, but you must keep it in
mind if you ever think about changing your store.

Anyway, back to the issue at hand, what do you get with this code:

(let ((class 'name-of-the-class) (slotn 'name-of-the-money-slot))
  (c2mop:slot-definition-type
   (find slotn (c2mop:class-slots (find-class class))
         :key #'c2mop:slot-definition-name)))

-- 
I write stuff at http://failex.blogspot.com/ now.  But the post
formatter and themes are terrible for sharing code, the primary
content, so it might go away sooner or later.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to