Thanks Julien. So, what I did experienced is because BooleanSlot is work in progress. To address my issue using slots, I guess collections should implement asBit method (Sent by BooleanSlot).
Noury > On 20 Mar 2020, at 13:56, Julien Delplanque <julien.delplan...@inria.fr> > wrote: > > Hello, > > There is a work in progress prototype slot named BooleanSlot in the > Slot-Example package built-in the image. > > I think this slot does what you want. > > So, the answer is yes, it is possible to do that. But you will need to fix > todos left in BooleanSlot methods. > > Julien > > Le 20/03/20 à 12:24, N. Bouraqadi a écrit : >> Hi, >> >> Suppose I have an instance variable referencing a collection of booleans. >> I want to have all elements of the collection be stored as bits. >> Is there a way I can express it using slots? >> >> This idea can be generalized to other types of slots. >> >> Noury >> >