#16264: Rotate error on childless binay trees
-------------------------------------------------+-------------------------
       Reporter:  VivianePons                    |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.2
      Component:  combinatorics                  |   Resolution:
       Keywords:  combinat, Tamari, binary       |    Merged in:
  trees, FindStat                                |    Reviewers:
        Authors:  Viviane Pons                   |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by darij):

 If we go down the exception route, I would advocate for a new exception
 called `PartialMapException` or likewise (unless we already have such a
 thing!) that is thrown whenever a combinatorial partial map is caught off
 its domain. That could then be used for other things like crystal
 operations on tableaux etc. -- rather than having each programmer decide
 on their favorite exception and then try to catch them as
 `StandardError`s. Then, FindStat (or other code) could catch these
 `PartialMapException`s and take them as signs that nothing is wrong and
 there just is no image. Basically this means implementing the Maybe monad.

--
Ticket URL: <http://trac.sagemath.org/ticket/16264#comment:18>
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