Use of MagmaSet ?

Hilaire Fernandes hilaire2006 at laposte.net
Fri Apr 6 09:41:23 UTC 2007


Hilaire Fernandes a écrit :
> I am using it that way, but something goes wrong as I can not find with 
> index and duplication occure on the Set.
> 
> Is it the correct way to initialize MagmaSet ? I did not find example of 
> use.
> 
> Hilaire
> 
>    learners := MagmaSet equivalenceAttributes: #(#id).
>    learners
>       addIndex: ((MaSearchStringIndex attribute: #firstName)
>          keySize: 128);
>       addIndex: ((MaSearchStringIndex attribute: #lastName)
>          keySize: 128);
>       addIndex: (MaIntegerIndex attribute: #id).


I forgot to mention I have several learners MagmaSet part of other 
objects. These learners MagmaSet are indexed identically, and some 
learner instance may belong to several such MagmaSet. Can it be confusing?

Hilaire



More information about the Magma mailing list