Hi Nathann,

On 2014-05-27, Nathann Cohen <nathann.co...@gmail.com> wrote:
>> I'm trying to find the best way of doing it. The decorator seems the best 
>> way to flag. Before returning the orignal function, I could store the "map" 
>> itself. But I would like to create the map objects only if needed, and this 
>> I'm not yet sure how to do.
>
> I don't get it... What if combinatorial map just copies the list of
> all its parameters AND the function into a database stored in some
> module ?

You typed faster than I did...
I agree with you: If people want a database (here: of combinatorial maps
or of statistics), they should use a proper database engine, and should
leave the code alone.

> You have absolutely no other work to do, and you would only
> create the map objects when somebody tries to ask anything about the
> content of the database, don't you ?

Yes, probably a database would just store the import location for the
combinatorial map. That's a string.

Best regards,
Simon

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

Reply via email to