> Implement the cases as functions: If I do that as in your example, then I have on one side the tests corresponding to each construction, and on the other side the functions corresponding to the tests. And they are really tied together, same thing here, I don't want to see them miles apart.
At some point I did the tests inside of the function itself : from the outside it was cool, you just called a lot of functions without doing the tests yourself, and the function gave the answer or said "I can't !". Those functions, of course, returned both integers, booleans and matrices. Plus Vincent didn't like to see the tests at the beginning of each function. I'm a bit stuck here, you know ?.. :-P Nathann P.S. : Working on the cached_function patch -- 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.