A common tool used to resolve such name clashes is to use an underscored 
name. So you'd end up with ordinal_rank or enumeration_rank then. I still 
like enumeration_index better in that context.


 In my original post I proposed `total_order_rank` and 
`total_order_unrank`.  I think it would be good to have the same prefix, in 
order not to further clutter the already long list of method names you get 
by tab completion in enumerated sets.


How about enumeration_rank and enumeration_unrank to specify that it is 
coming from the conditions of a parent being an enumerated set?

Best,
Travis

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/6c0ec6f3-a4fd-46fb-bc9c-71ef34bb1d79n%40googlegroups.com.

Reply via email to