Skip to content

Implement an_instance for more categories, and extend category_sample #15696

@nthiery

Description

@nthiery

category_sample should look deeper in the code to find categories. It
currently only looks into sage.categories.all, and misses axiom or
covariant functorial construction categories like Sets.Infinite or
Sets.CartesianProducts. It's not clear whether it should include
specialized categories like

sage.combinat.ncsf_qsym.generic_basis_code.BasesOfQSymOrNCSF

an_instance should be made to work at least for the categories
discovered by category_sample, and possibly more::

sage: Sets.CartesianProducts.an_instance()
...
TypeError: __init__() takes at least 2 arguments (1 given)

CC: @simon-king-jena

Component: categories

Issue created by migration from https://trac.sagemath.org/ticket/15696

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions