The expected result is false, but: fricas (1) -> R ==> Record(key: Symbol, Type: Void
fricas T ==> AssociationList(Symbol, Type: Void
fricas t1 := construct([[x,
Type: AssociationList?(Symbol,
fricas t2 := construct([[y,
Type: AssociationList?(Symbol,
fricas (t1=t2)::Boolean
Type: Boolean
The reason is in the definition of equality in 'TBAGG': s:% = t:% == eq?(s,t) => true #s ^= #t => false for k in keys s repeat (e := search(k, t)) case "failed" or (e::Entry) ^= s.k => false true which will always return Martin ... --gdr, Sun, 18 May 2008 13:33:32 -0700 reply
Fixed in OpenAxiom
|