using Nemerle.Extensions; namespace ns { public module mdl { public variant SomeVariant { [StructuralEquality, StructuralHashCode] |A } } }