> Let's not mix everything here. In FindStat, we do use a database for > statistics (not maps) but that's not what we're talking about here. We're > just talking about flagging some object methods as maps with some semantic > information.
Indeed. You agreed to only talk about the aspects of this decorator which are of interest to Sage. > my only question is what "storing the info" means. I understand Nathan is > suggestiong I just put it in some database object somewhere, and then my > permutation object would just ask this object whenever it needs to give the > list of maps. Am I right here? Let us say that when the combinatorial_map decorator is called on a function f with some parameters, it does the following from sage.combinat.combinatorial_map import my_dictionary_database my_dictionary_database[f] = list_of_parameters_or_anything_you_like return f With a design like that, any semantic information is still available if you ever need it, and the function is left unchanged. Nathann -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.