Skip to content

GapObj vs julia_to_gap #990

@ThomasBreuer

Description

@ThomasBreuer

The use of GapObj as a constructor is getting more and more popular.
Currently the implementation provides just GapObj(obj, recursive), and GapObj(obj; recursive = false),
and delegates to the three argument version julia_to_gap(obj, IdDict(); recursive).

This way, calling GapObj with one argument often runs via julia_to_gap(obj, IdDict(); recursive) into the default method of julia_to_gap that discards the last two arguments.

Can't we use GapObj and julia_to_gap as synonyms?
Then this detour would be avoided, and the special one-argument method would be called directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions