#16340: Infrastructure for modelling full subcategories
-------------------------------------+-------------------------------------
       Reporter:  nthiery            |        Owner:
           Type:  enhancement        |       Status:  closed
       Priority:  major              |    Milestone:  sage-6.4
      Component:  categories         |   Resolution:  fixed
       Keywords:  full               |    Merged in:
  subcategories, homset              |    Reviewers:  Darij Grinberg,
        Authors:  Nicolas M. ThiƩry  |  Travis Scrimshaw, Simon King
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  eb621c7beacb797f43fd41c9156edc453e80a902|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by nthiery):

 Replying to [comment:65 ncohen]:
 > Wasn't there a way to make all these classes inherit the
 `additional_structure` -> `return None` function ?..

 Yeah, I agree it's verbose looking. But I am actually quite happy that
 the design allowed us to explicitly insert so few additional
 information :-)

 With this ticket, we are really adding a not so trivial mathematical
 information to almost 260+ categories (what shall, or not, be
 preserved by morphisms); thanks to the chosen defaults (which depend
 on whether we have a category with axiom, a construction category, or
 ...) we had to special case only about 20 categories. For each of
 them, there was a conscious design decision taken, some of which took
 a bit of discussion; each such decision has to be documented and
 tested. Hence we really want the doctests. In particular, having an
 attribute instead of a method would not save anything.

 Cheers,
                                  Nicolas

--
Ticket URL: <http://trac.sagemath.org/ticket/16340#comment:70>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to