Re: [elephant-devel] set-valued slots review

2011-09-27 Thread Ian Eslick
I was creating the set-valued slot API as a placeholder for something more native, but ran out of time to work on the project before really getting it done right. As you say, the API is awkward. I think it would be more convenient to use lists as the slot-level API and have a separate API for

Re: [elephant-devel] set-valued slots review

2011-09-12 Thread Alex Mizrahi
> IV. Lacking features I think it would be great if we also add features for: 1. Initializing slot-set from list. Something like: (setf (numbers-of obj1) (make-slot-set :items '(1 2 3 4)) 2. Wipe contents of a slot-set. You can do it via slot-makunbound, sure, but it is kinda ugly. (setf (numb

[elephant-devel] set-valued slots review

2011-09-12 Thread Alex Mizrahi
I. RATIONALE There is a number of cases where one might want to store more than one value in a slot. An example from our testassociations: person can hold multiple jobs, job can have multiple holders. There is a number of ways how you can hold these multiple values in a single slot: 1. Lis